From 9620f48ed0258c0a56be51b71a98763f0ac5c698 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Sat, 9 Jan 2016 17:05:21 -0200 Subject: [PATCH] Fix test case after 86bce4a2ae9915fad63c742cb68fcd0a5e64a223. --- models/git_diff_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/git_diff_test.go b/models/git_diff_test.go index a7b9bdd6284..4084814ec82 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"},