diff options
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  | 
