aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-12-26 05:01:29 -0800
committerbnewbold <bnewbold@robocracy.org>2016-12-26 05:01:31 -0800
commit3983ac71d8911234342386aed897d6d2f9fef13f (patch)
tree3646646feddeb5fbc5ce8b3176e2a7bae9753f34 /tests
parentc12c61cb0f34df3421b9e967e74c0603f9e44a0f (diff)
downloadmodelthing-3983ac71d8911234342386aed897d6d2f9fef13f.tar.gz
modelthing-3983ac71d8911234342386aed897d6d2f9fef13f.zip
remove metadata.toml
Grab name and decription from modelica source. Only keep around examples in .toml (so far unimplemented)
Diffstat (limited to 'tests')
-rw-r--r--tests/lib.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/lib.rs b/tests/lib.rs
index de19f5b..8899e0b 100644
--- a/tests/lib.rs
+++ b/tests/lib.rs
@@ -9,20 +9,6 @@ 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();
}