diff --git a/arg-parsing-test.bats b/arg-parsing-test.bats index 52a692a..2ac076a 100644 --- a/arg-parsing-test.bats +++ b/arg-parsing-test.bats @@ -71,4 +71,8 @@ write_conf_file() { parse_args --config-file conf --no-hash assert that "$append_hash" = "false" } +@test ' sets a --message with spaces in it.' { + parse_args --message "a message" + assert that "$commit_message" = "a message" +}