From f9780935165b9535288bdac4e6b1171278fc5191 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 11 Jan 2017 17:19:11 -0800 Subject: re-export modelica_parser (and fix tests) --- src/lib.rs | 2 +- tests/lib.rs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 24b1ee7..4c32d66 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ extern crate log; extern crate error_chain; extern crate toml; -extern crate modelica_parser; +pub extern crate modelica_parser; pub mod modelica_model; pub mod transpile_scheme; 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())), -- cgit v1.2.3