Skip to content

Commit 3d62d8d

Browse files
committed
Use assertStrEqual instead of assert.Equal.
1 parent 1b4655e commit 3d62d8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diffmatchpatch/dmp_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func Test_diffLinesToChars(t *testing.T) {
240240
assert.Equal(t, chars, result0)
241241
assert.Equal(t, "", result1, "")
242242
// Account for the initial empty element of the lines array.
243-
assert.Equal(t, append([]string{""}, lineList...), result2)
243+
assertStrEqual(t, append([]string{""}, lineList...), result2)
244244
}
245245

246246
func Test_diffCharsToLines(t *testing.T) {

0 commit comments

Comments
 (0)