diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-12-26 00:08:37 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-12-26 00:08:37 -0800 |
commit | 9cf287fef8e614f57d0d52d579d6721ba54683f4 (patch) | |
tree | ceda8550fd28770d24a1ab37f5de1bee1f71959a /tests | |
parent | 957c2f75ceccfab3d8a8e546961db5f053876689 (diff) | |
download | modelthing-9cf287fef8e614f57d0d52d579d6721ba54683f4.tar.gz modelthing-9cf287fef8e614f57d0d52d579d6721ba54683f4.zip |
updates for new modelica-parser-lalrpop hierarchy
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib.rs | 2 | ||||
-rw-r--r-- | tests/rebalance.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib.rs b/tests/lib.rs index 914064d..fb9c98d 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -33,7 +33,7 @@ fn test_search_models() { #[test] fn test substitute_with() { - use modelica_parser::ast::Expr::*; + use modelica_parser::Expr::*; let y = BinExpr(BinOperator::Add, Box::new(Ident("y".to_string())), diff --git a/tests/rebalance.rs b/tests/rebalance.rs index f365e84..3303a89 100644 --- a/tests/rebalance.rs +++ b/tests/rebalance.rs @@ -3,11 +3,11 @@ extern crate modelica_parser; extern crate modelthing; use modelthing::modelica_model::SimpleEquationExt; -use modelica_parser::ast::*; +use modelica_parser::*; #[test] fn test_rebalance_for() { - use modelica_parser::ast::Expr::*; + use modelica_parser::Expr::*; // z = a - 1.2345 // a = z + 1.2345 |