From 3983ac71d8911234342386aed897d6d2f9fef13f Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 26 Dec 2016 05:01:29 -0800 Subject: remove metadata.toml Grab name and decription from modelica source. Only keep around examples in .toml (so far unimplemented) --- tests/lib.rs | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'tests') diff --git a/tests/lib.rs b/tests/lib.rs index de19f5b..8899e0b 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -8,20 +8,6 @@ use modelthing::*; use modelica_parser::*; -#[test] -fn test_parse_metadata() { - let raw = -r#" -[model] -name-en = "Bogus Dummy Model" -"#.to_string(); - assert_eq!(parse_metadata(raw).unwrap(), - ModelMetadata { - name_en: "Bogus Dummy Model".to_string(), - description_en: None, - }); -} - #[test] fn test_load_model_entry() { load_model_entry(Path::new("./examples/classic_gravitation/")).unwrap(); -- cgit v1.2.3