aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Jan Kanis <jan.code@jankanis.nl>2012-12-22 18:38:28 +0100
committerGravatar Jan Kanis <jan.code@jankanis.nl>2012-12-22 18:38:28 +0100
commit8a446f43ff184fad6f7aeca05fca51bb3aac2d91 (patch)
treebfa5dbe4803b4c74a7889f0a305b77f4c5b49c7f /tests
parent30392bf66a79b91ad2fa10b369f151540c40c09e (diff)
include fixes and suggestions from code review
Diffstat (limited to 'tests')
-rw-r--r--tests/test9.err1
-rw-r--r--tests/test9.in3
-rw-r--r--tests/test9.status2
3 files changed, 5 insertions, 1 deletions
diff --git a/tests/test9.err b/tests/test9.err
index e69de29b..f439e8db 100644
--- a/tests/test9.err
+++ b/tests/test9.err
@@ -0,0 +1 @@
+emit: expected event name
diff --git a/tests/test9.in b/tests/test9.in
index 688dfb3f..b8842727 100644
--- a/tests/test9.in
+++ b/tests/test9.in
@@ -23,3 +23,6 @@ function test3 --on-event test3
end
emit test3 foo bar
+
+# test empty argument
+emit \ No newline at end of file
diff --git a/tests/test9.status b/tests/test9.status
index 573541ac..d00491fd 100644
--- a/tests/test9.status
+++ b/tests/test9.status
@@ -1 +1 @@
-0
+1