From a0c9ab08dccf65259474b5da97e4f5b092741779 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 1 Mar 2012 22:20:20 -0600 Subject: Added more baseline testing, for valexprs and Python --- test/baseline/cmd-script.test | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/baseline/cmd-script.test') diff --git a/test/baseline/cmd-script.test b/test/baseline/cmd-script.test index ed665dcc..12e9c868 100644 --- a/test/baseline/cmd-script.test +++ b/test/baseline/cmd-script.test @@ -1,3 +1,12 @@ test eval 'foo(w, u)=(z=w+u;z*2); (a=1 + 1; foo(10, 15))' 50 end test + +test eval 'foo(x, y, z)=print(x, y, z); bar(x)=x; foo(1, 2, 3); bar(3)' +123 +3 +end test + +test eval 'total_expr=$100;amount_expr=$15;x=total_expr;x=x/5;x=amount_expr-x*5;x' +$-85 +end test -- cgit v1.2.3