diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2016-11-25 16:02:10 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-11-25 16:02:10 +0800 |
commit | 76604d8f9008dd4e42500a6febd09475483d4057 (patch) | |
tree | e0834b9f3f6c029a384d17ec4bc021743f46ee0f /modules | |
parent | 304bbd3f251bf158ca437472e860d7b18d5483a3 (diff) | |
download | gitea-76604d8f9008dd4e42500a6febd09475483d4057.tar.gz gitea-76604d8f9008dd4e42500a6febd09475483d4057.zip |
fixed test build error
Diffstat (limited to 'modules')
-rw-r--r-- | modules/markdown/markdown_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/markdown/markdown_test.go b/modules/markdown/markdown_test.go index 9a7bc25fa1..3fc260bf1f 100644 --- a/modules/markdown/markdown_test.go +++ b/modules/markdown/markdown_test.go @@ -95,7 +95,7 @@ func TestMarkdown(t *testing.T) { metas["format"] = "https://someurl.com/{user}/{repo}/{index}" metas["user"] = "someuser" metas["repo"] = "somerepo" - metas["style"] = ISSUE_NAME_STYLE_NUMERIC + metas["style"] = IssueNameStyleNumeric Convey("should not render anything when there are no mentions", func() { testCases := []string{ @@ -167,7 +167,7 @@ func TestMarkdown(t *testing.T) { metas["format"] = "https://someurl.com/{user}/{repo}/?b={index}" metas["user"] = "someuser" metas["repo"] = "somerepo" - metas["style"] = ISSUE_NAME_STYLE_ALPHANUMERIC + metas["style"] = IssueNameStyleAlphanumeric Convey("It should not render anything when there are no mentions", func() { testCases := []string{ "", |