From 9e555434b3db43de7e1790a133429ea7f90c70fb Mon Sep 17 00:00:00 2001 From: Matt Pearson Date: Wed, 16 Dec 2015 19:41:23 -0800 Subject: [PATCH] Add test for '--message' with spaces in it. --- arg-parsing-test.bats | 4 ++++ 1 file changed, 4 insertions(+) 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" +}