summaryrefslogtreecommitdiff
path: root/test/problem-7.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/problem-7.bats')
-rw-r--r--test/problem-7.bats6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/problem-7.bats b/test/problem-7.bats
index 57d657a..6b5e193 100644
--- a/test/problem-7.bats
+++ b/test/problem-7.bats
@@ -13,3 +13,9 @@ load test_helper
assert_success "unknown is NOT on the network"
}
+
+@test "invoke without a hostname argument" {
+ run problem-7.sh
+
+ assert_failure "error: a hostname is required"
+}