summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/problem-6.bats6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/problem-6.bats b/test/problem-6.bats
index 0c37092..9b6493d 100644
--- a/test/problem-6.bats
+++ b/test/problem-6.bats
@@ -24,3 +24,9 @@ load test_helper
assert_failure $'error: "oops" is not a number'
}
+
+@test "invoke with multiple non-numeric" {
+ run problem-6.sh "oops" "invalid"
+
+ assert_failure $'error: "oops" is not a number\nerror: "invalid" is not a number'
+}