Skip to content

Commit 9e55543

Browse files
author
Matt Pearson
committed
Add test for '--message' with spaces in it.
1 parent dae280a commit 9e55543

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arg-parsing-test.bats

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,8 @@ write_conf_file() {
7171
parse_args --config-file conf --no-hash
7272
assert that "$append_hash" = "false"
7373
}
74+
@test ' sets a --message with spaces in it.' {
75+
parse_args --message "a message"
76+
assert that "$commit_message" = "a message"
77+
}
7478

0 commit comments

Comments
 (0)