summaryrefslogtreecommitdiff
path: root/test/baseline/cmd-script.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-21 03:53:00 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-21 03:53:00 -0600
commitc47350dce9c666987f924c54507973fc11587b2e (patch)
treeaf3dce9cdcea344d640f108efd58bc949d0a2955 /test/baseline/cmd-script.test
parent36922c5945290f43a3517fb2f5f155b287b9b565 (diff)
downloadfork-ledger-c47350dce9c666987f924c54507973fc11587b2e.tar.gz
fork-ledger-c47350dce9c666987f924c54507973fc11587b2e.tar.bz2
fork-ledger-c47350dce9c666987f924c54507973fc11587b2e.zip
Corrected handling of nested definitions
Diffstat (limited to 'test/baseline/cmd-script.test')
-rw-r--r--test/baseline/cmd-script.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/baseline/cmd-script.test b/test/baseline/cmd-script.test
new file mode 100644
index 00000000..ed665dcc
--- /dev/null
+++ b/test/baseline/cmd-script.test
@@ -0,0 +1,3 @@
+test eval 'foo(w, u)=(z=w+u;z*2); (a=1 + 1; foo(10, 15))'
+50
+end test