Skip to content

Commit

Permalink
Fix test in test-spawn.lua (#1298)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
psychon authored and blueyed committed Dec 25, 2016
1 parent 4abd820 commit 3f9da42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-spawn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3f9da42

Please sign in to comment.