diff options
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/cli.test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cli.test.sh b/tests/cli.test.sh index 2694938..aefb371 100755 --- a/tests/cli.test.sh +++ b/tests/cli.test.sh @@ -10,6 +10,8 @@ pass() { echo "ok: $*"; } out="$("${CLI[@]}" help 2>&1)" || fail "help exited non-zero" [[ "$out" == *"icloud-note create"* ]] || fail "help missing create usage" +[[ "$out" == *"headless"* ]] || fail "help should say create/status are headless" +[[ "$out" != *"--headed"* ]] || fail "help must not advertise --headed" pass "help" set +e |
