summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/example.bats (renamed from test/problem-6.bats)4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/problem-6.bats b/test/example.bats
index ff5ceb4..5acd1ad 100644
--- a/test/problem-6.bats
+++ b/test/example.bats
@@ -7,13 +7,13 @@ load test_helper
[ "$result" -eq 4 ]
}
-@test "invoke with a single integer" {
+@test "is successfull" {
run echo 'hello'
assert_success $'hello'
}
-@test "invoke with single non-numeric" {
+@test "produces an error" {
run rm blah
assert_failure $'rm: blah: No such file or directory'