diff options
author | Konrad Borowski <x.fix@o2.pl> | 2014-05-06 12:18:09 +0200 |
---|---|---|
committer | Konrad Borowski <x.fix@o2.pl> | 2014-05-06 12:18:09 +0200 |
commit | 91ebe12fc2d54f952d046716d85db13de00288e7 (patch) | |
tree | 8e44e25abbb1fb0f25ed5344a42312c9fb0bd3be /tests | |
parent | 13e1e7e1e94fb2102986e826765c7801f6cd8332 (diff) |
Add test for empty function name.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test10.err | 4 | ||||
-rw-r--r-- | tests/test10.in | 3 | ||||
-rw-r--r-- | tests/test10.out | 1 | ||||
-rw-r--r-- | tests/test10.status | 1 |
4 files changed, 9 insertions, 0 deletions
diff --git a/tests/test10.err b/tests/test10.err new file mode 100644 index 00000000..abf6ca37 --- /dev/null +++ b/tests/test10.err @@ -0,0 +1,4 @@ +function: No function name given + +fish: function "" + ^ diff --git a/tests/test10.in b/tests/test10.in new file mode 100644 index 00000000..bcb5985a --- /dev/null +++ b/tests/test10.in @@ -0,0 +1,3 @@ +function "" +end +echo Hello, world! diff --git a/tests/test10.out b/tests/test10.out new file mode 100644 index 00000000..af5626b4 --- /dev/null +++ b/tests/test10.out @@ -0,0 +1 @@ +Hello, world! diff --git a/tests/test10.status b/tests/test10.status new file mode 100644 index 00000000..573541ac --- /dev/null +++ b/tests/test10.status @@ -0,0 +1 @@ +0 |