aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2017-01-11 17:19:11 -0800
committerbnewbold <bnewbold@robocracy.org>2017-01-11 17:19:11 -0800
commitf9780935165b9535288bdac4e6b1171278fc5191 (patch)
tree6cec27a8e54d3e1deb48ef4f40fd19021cc034b4 /tests
parentf2c1f1c13772145acaecb1ebf9b4cafcacb98131 (diff)
downloadmodelthing-f9780935165b9535288bdac4e6b1171278fc5191.tar.gz
modelthing-f9780935165b9535288bdac4e6b1171278fc5191.zip
re-export modelica_parser (and fix tests)
Diffstat (limited to 'tests')
-rw-r--r--tests/lib.rs5
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())),