Skip to content

Commit 10cca5d

Browse files
committed
Generalise ignores empty commits assertion
Because: * The error string varies slightly between different versions of git. * This is causing travis to report the build as failing.
1 parent be59a15 commit 10cca5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/validation.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ load test_helper
99
run git commit -m ''
1010

1111
assert_failure
12-
assert_line 'Aborting commit; you did not edit the message.'
12+
assert_line --partial 'Aborting commit'
1313
}
1414

1515
@test "validation: ignores comments" {

0 commit comments

Comments
 (0)