From 3f9da4269d430667c32a05059617018e83cdb53e Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 25 Dec 2016 15:47:09 +0100 Subject: [PATCH] Fix test in test-spawn.lua (#1298) Copy-paste-y I was checking for the wrong result. Another unrelated problem with the test runner caused me to miss this. Sorry! Signed-off-by: Uli Schlachter --- tests/test-spawn.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-spawn.lua b/tests/test-spawn.lua index 8782fb9c6..bc89936b2 100644 --- a/tests/test-spawn.lua +++ b/tests/test-spawn.lua @@ -30,7 +30,7 @@ local steps = { assert(string.find(error_message, 'Text was empty'), error_message) error_message = spawn("") - assert(string.find(error_message, 'Text was empty'), error_message) + assert(string.find(error_message, 'No command to execute'), error_message) error_message = spawn{} assert(string.find(error_message, 'There is nothing to execute'), error_message)