summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2019-09-07 13:37:58 -0600
committermo khan <mo@mokhan.ca>2019-09-07 13:37:58 -0600
commit091ef37ff36cfa0a67a6cf4e6356d362320a8c07 (patch)
tree5909591710be021e23c5fb1064e145f1d72172b3
parent07454039c7ed4384a679325e9cd75c1faaceb43d (diff)
rename example spec
-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'