Moved multi-field query tests to lib.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
This commit is contained in:
@@ -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};
|
||||
|
||||
@@ -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};
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user