aboutsummaryrefslogtreecommitdiffstats
path: root/models/git_diff_test.go
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2016-11-07 17:24:59 +0100
committerSandro Santilli <strk@kbt.io>2016-11-07 17:24:59 +0100
commitf6a11e0de1ab950b42679d6be9dc0f3ac86c3399 (patch)
tree949480af7bd3cf0dd27f33256bb964d9b5bbfea2 /models/git_diff_test.go
parentf388661bda8097b5ff01548e6153c566690c9b5e (diff)
downloadgitea-f6a11e0de1ab950b42679d6be9dc0f3ac86c3399.tar.gz
gitea-f6a11e0de1ab950b42679d6be9dc0f3ac86c3399.zip
More MixedCase consts
Diffstat (limited to 'models/git_diff_test.go')
-rw-r--r--models/git_diff_test.go4
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))
}