From 9cf287fef8e614f57d0d52d579d6721ba54683f4 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 26 Dec 2016 00:08:37 -0800 Subject: updates for new modelica-parser-lalrpop hierarchy --- tests/lib.rs | 2 +- tests/rebalance.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3