diff options
Diffstat (limited to 'tests/test1.in')
-rw-r--r-- | tests/test1.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test1.in b/tests/test1.in index 5b87fb71..3b3ba25f 100644 --- a/tests/test1.in +++ b/tests/test1.in @@ -3,7 +3,7 @@ # for i in 1 2 #Comment on same line as command -#Comment inside loop +#Comment inside loop for j in a b #Double loop echo $i$j @@ -12,7 +12,7 @@ end # Simple alias tests -function foo +function foo echo >foo.txt $argv end @@ -26,16 +26,16 @@ else echo Test 2 fail end -function foo +function foo printf 'Test %s' $1; echo ' pass' end -foo 3 +foo 3 for i in Test for continue break and switch builtins problems; switch $i case Test - printf "%s " $i + printf "%s " $i case "f??" printf "%s " 3 case "c*" |