diff options
Diffstat (limited to 'modelica-parser-lalrpop/tests/ast.rs')
-rw-r--r-- | modelica-parser-lalrpop/tests/ast.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modelica-parser-lalrpop/tests/ast.rs b/modelica-parser-lalrpop/tests/ast.rs index f9047cb..24407b8 100644 --- a/modelica-parser-lalrpop/tests/ast.rs +++ b/modelica-parser-lalrpop/tests/ast.rs @@ -24,10 +24,10 @@ fn test_expr_identifiers() { assert!(set_eq( vec!["x".to_string(), "y".to_string(), "z".to_string()], BinExpr(BinOperator::Add, - Box::new(Abs(Box::new(Ident("z".to_string())))), + Box::new(Sign(Box::new(Ident("z".to_string())))), Box::new(BinExpr(BinOperator::Add, - Box::new(Abs(Box::new(Ident("x".to_string())))), - Box::new(Abs(Box::new(Ident("y".to_string()))))))).identifiers())); + Box::new(Sign(Box::new(Ident("x".to_string())))), + Box::new(Sign(Box::new(Ident("y".to_string()))))))).identifiers())); assert!(set_eq( vec!["z".to_string()], BinExpr(BinOperator::Add, |