diff options
author | bnewbold <bnewbold@robocracy.org> | 2017-01-11 17:19:11 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2017-01-11 17:19:11 -0800 |
commit | f9780935165b9535288bdac4e6b1171278fc5191 (patch) | |
tree | 6cec27a8e54d3e1deb48ef4f40fd19021cc034b4 /tests | |
parent | f2c1f1c13772145acaecb1ebf9b4cafcacb98131 (diff) | |
download | modelthing-f9780935165b9535288bdac4e6b1171278fc5191.tar.gz modelthing-f9780935165b9535288bdac4e6b1171278fc5191.zip |
re-export modelica_parser (and fix tests)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/lib.rs b/tests/lib.rs index 8899e0b..7822f62 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -1,11 +1,10 @@ extern crate modelthing; -extern crate modelica_parser; use std::path::Path; use modelthing::*; -use modelica_parser::*; +use modelthing::modelica_parser::*; #[test] @@ -20,7 +19,7 @@ fn test_search_models() { #[test] fn test_substitute_with() { - use modelica_parser::Expr::*; + use modelthing::modelica_parser::Expr::*; let y = BinExpr(BinOperator::Add, Box::new(Ident("y".to_string())), |