Skip to content

Commit 7dc91b2

Browse files
Fix a failing unit test on OSX
1 parent 9ffbbb9 commit 7dc91b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/diff-so-fancy.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ output=$( load_fixture "ls-function" | $diff_so_fancy )
8383
output=$( load_fixture "latin1" | $diff_so_fancy )
8484
# Make sure the output contains SOME of the english text (i.e. it doesn't barf on the whole line)
8585
run printf "%s" "$output"
86-
assert_line --index 6 --regexp "saw he conqu"
86+
assert_line --index 6 --partial "saw he conqu"
8787
}
8888

8989
@test "Correctly handle hunk definition with no comma" {

0 commit comments

Comments
 (0)