added traits and include features with docs
This commit is contained in:
@ -2141,6 +2141,36 @@ fn test_items_15_2() {
|
||||
crate::tests::runner::run_test_case(&path, 15, 2).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_traits_0_0() {
|
||||
let path = format!("{}/fixtures/traits.json", env!("CARGO_MANIFEST_DIR"));
|
||||
crate::tests::runner::run_test_case(&path, 0, 0).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_traits_0_1() {
|
||||
let path = format!("{}/fixtures/traits.json", env!("CARGO_MANIFEST_DIR"));
|
||||
crate::tests::runner::run_test_case(&path, 0, 1).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_traits_1_0() {
|
||||
let path = format!("{}/fixtures/traits.json", env!("CARGO_MANIFEST_DIR"));
|
||||
crate::tests::runner::run_test_case(&path, 1, 0).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_traits_2_0() {
|
||||
let path = format!("{}/fixtures/traits.json", env!("CARGO_MANIFEST_DIR"));
|
||||
crate::tests::runner::run_test_case(&path, 2, 0).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_traits_3_0() {
|
||||
let path = format!("{}/fixtures/traits.json", env!("CARGO_MANIFEST_DIR"));
|
||||
crate::tests::runner::run_test_case(&path, 3, 0).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_enum_0_0() {
|
||||
let path = format!("{}/fixtures/enum.json", env!("CARGO_MANIFEST_DIR"));
|
||||
|
||||
@ -42,7 +42,7 @@ fn get_cached_file(path: &str) -> CompiledSuite {
|
||||
|
||||
let mut compiled_suites = Vec::new();
|
||||
for suite in suites {
|
||||
let (db, drop) = crate::database::Database::new(&suite.database);
|
||||
let (db, drop) = crate::database::Database::new(suite.database.clone());
|
||||
let compiled_db = if drop.errors.is_empty() {
|
||||
Ok(Arc::new(db))
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user