Removed dev-deps to serde_yaml

This commit is contained in:
Paul Masurel
2020-10-06 10:04:06 +09:00
parent 687a36a49c
commit 579e3d1ed8
2 changed files with 0 additions and 14 deletions

View File

@@ -58,7 +58,6 @@ rand = "0.7"
maplit = "1"
matches = "0.1.8"
proptest = "0.10"
serde_yaml = "0.8.13"
[dev-dependencies.fail]
version = "0.4"

View File

@@ -309,17 +309,4 @@ mod tests {
_ => panic!("expected FieldType::Str"),
}
}
#[test]
fn test_yaml_deserialization() {
let schema_content = r#"
name: text
type: text
options:
indexing:
record: position
tokenizer: default
stored: true
"#;
serde_yaml::from_str::<FieldEntry>(schema_content).unwrap();
}
}