Moved multi-field query tests to lib.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s

This commit is contained in:
2026-02-28 18:27:23 -05:00
parent 771372144e
commit 1283139571
4 changed files with 93 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ mod show;
mod update;
mod user;
pub use crate::document::{DocDef, Field, FieldType, Record, Records};
pub use crate::document::{DocDef, Field, FieldType, IndexType, Record, Records};
pub use action_type::Action;
pub use addition::Addition;
pub use calculation::{CalcValue, Calculation, Operand};

View File

@@ -8,7 +8,7 @@ mod session;
use record::{InternalRecord, InternalRecords, Oid};
pub use clock::Clock;
pub use create::CreateDoc;
pub use create::{CreateDoc, IndexType};
pub use definition::DocDef;
pub use field::{Field, FieldType};
pub use record::{Record, Records};

View File

@@ -1312,7 +1312,6 @@ mod document_files {
_ => unreachable!("got {:?}: should have been a reply", action),
}
}
*/
#[test]
fn query_should_work_with_multiple_fields() {
@@ -1450,6 +1449,7 @@ mod document_files {
_ => unreachable!("got {:?}: should have been a reply", action),
}
}
*/
#[test]
fn errors_on_bad_field_name() {