diff options
author | Sandro Santilli <strk@kbt.io> | 2016-11-07 17:24:59 +0100 |
---|---|---|
committer | Sandro Santilli <strk@kbt.io> | 2016-11-07 17:24:59 +0100 |
commit | f6a11e0de1ab950b42679d6be9dc0f3ac86c3399 (patch) | |
tree | 949480af7bd3cf0dd27f33256bb964d9b5bbfea2 /models/git_diff_test.go | |
parent | f388661bda8097b5ff01548e6153c566690c9b5e (diff) | |
download | gitea-f6a11e0de1ab950b42679d6be9dc0f3ac86c3399.tar.gz gitea-f6a11e0de1ab950b42679d6be9dc0f3ac86c3399.zip |
More MixedCase consts
Diffstat (limited to 'models/git_diff_test.go')
-rw-r--r-- | models/git_diff_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/git_diff_test.go b/models/git_diff_test.go index 7f390adb3f..cf98f65399 100644 --- a/models/git_diff_test.go +++ b/models/git_diff_test.go @@ -24,12 +24,12 @@ func TestDiffToHTML(t *testing.T) { dmp.Diff{dmp.DiffInsert, "bar"}, dmp.Diff{dmp.DiffDelete, " baz"}, dmp.Diff{dmp.DiffEqual, " biz"}, - }, DIFF_LINE_ADD)) + }, DiffLineAdd)) assertEqual(t, "-foo <span class=\"removed-code\">bar</span> biz", diffToHTML([]dmp.Diff{ dmp.Diff{dmp.DiffEqual, "foo "}, dmp.Diff{dmp.DiffDelete, "bar"}, dmp.Diff{dmp.DiffInsert, " baz"}, dmp.Diff{dmp.DiffEqual, " biz"}, - }, DIFF_LINE_DEL)) + }, DiffLineDel)) } |