summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2013-08-21 05:40:21 (GMT)
committerMarius Kintel <marius@kintel.net>2013-08-21 05:40:21 (GMT)
commita7396cc36fbd2269bc75b0632e659dd05149259b (patch)
tree2dcf579cf06794a75b9bf6b90e270a1e6848e007 /tests
parentfe7fb45019affbf683930d6368fe38524bdd2649 (diff)
Fixes two problems related to : lookup was dynamic rather than lexical, assignment was done after all local variables causing it not to be copyable
Diffstat (limited to 'tests')
-rw-r--r--tests/regression/echotest/variable-scope-tests-expected.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/regression/echotest/variable-scope-tests-expected.txt b/tests/regression/echotest/variable-scope-tests-expected.txt
index 5994778..2a82090 100644
--- a/tests/regression/echotest/variable-scope-tests-expected.txt
+++ b/tests/regression/echotest/variable-scope-tests-expected.txt
@@ -3,6 +3,15 @@ ECHO: 23, 5
WARNING: Ignoring unknown variable 'a'.
ECHO: undef
ECHO: 23, 5
+ECHO: "$children scope"
+ECHO: "$children should be 1: ", 1
+ECHO: "$children should be 4: ", 4
+ECHO: "$children should be 1: ", 1
+ECHO: "child_module_1 child"
+ECHO: "child_module_2 child 0"
+ECHO: "child_module_2 child 1"
+ECHO: "copy $children"
+ECHO: "copy_children_module: ", 2, 2
ECHO: "inner variables shadows parameter"
ECHO: 5, 24
ECHO: "user-defined special variables as parameter"
contact: Jan Huwald // Impressum