diff --git a/models/git_diff_test.go b/models/git_diff_test.go index a7b9bdd6..4084814e 100644 --- a/models/git_diff_test.go +++ b/models/git_diff_test.go @@ -18,15 +18,15 @@ func assertLineEqual(t *testing.T, d1 *DiffLine, d2 *DiffLine) { } } -func TestDiffToHtml(t *testing.T) { - assertEqual(t, "foo bar biz", diffToHtml([]dmp.Diff{ +func TestDiffToHTML(t *testing.T) { + assertEqual(t, "foo bar biz", diffToHTML([]dmp.Diff{ dmp.Diff{dmp.DiffEqual, "foo "}, dmp.Diff{dmp.DiffInsert, "bar"}, dmp.Diff{dmp.DiffDelete, " baz"}, dmp.Diff{dmp.DiffEqual, " biz"}, }, DIFF_LINE_ADD)) - assertEqual(t, "foo bar biz", diffToHtml([]dmp.Diff{ + assertEqual(t, "foo bar biz", diffToHTML([]dmp.Diff{ dmp.Diff{dmp.DiffEqual, "foo "}, dmp.Diff{dmp.DiffDelete, "bar"}, dmp.Diff{dmp.DiffInsert, " baz"},