diff --git a/misc_test.go b/misc_test.go index efa0e166..facf0608 100644 --- a/misc_test.go +++ b/misc_test.go @@ -1250,12 +1250,12 @@ func TestParser(t *testing.T) { msgList = addMETri(msgList, "//github.com/Azareal/Gosora", "//github.com/Azareal/Gosora") msgList = addMETri(msgList, "https://github.com/Azareal/Gosora", "https://github.com/Azareal/Gosora") msgList = addMETri(msgList, "http://github.com/Azareal/Gosora", "http://github.com/Azareal/Gosora") - msgList = addMETri(msgList, "//github.com/Azareal/Gosora\n", "//github.com/Azareal/Gosora") - msgList = addMETri(msgList, "\n//github.com/Azareal/Gosora", "//github.com/Azareal/Gosora") - msgList = addMETri(msgList, "\n//github.com/Azareal/Gosora\n", "//github.com/Azareal/Gosora") - msgList = addMETri(msgList, "//github.com/Azareal/Gosora\n//github.com/Azareal/Gosora", "//github.com/Azareal/Gosora\n//github.com/Azareal/Gosora") + msgList = addMETri(msgList, "//github.com/Azareal/Gosora\n", "//github.com/Azareal/Gosora
") + msgList = addMETri(msgList, "\n//github.com/Azareal/Gosora", "
//github.com/Azareal/Gosora") + msgList = addMETri(msgList, "\n//github.com/Azareal/Gosora\n", "
//github.com/Azareal/Gosora
") + msgList = addMETri(msgList, "//github.com/Azareal/Gosora\n//github.com/Azareal/Gosora", "//github.com/Azareal/Gosora
//github.com/Azareal/Gosora") msgList = addMETri(msgList, "//"+common.Site.URL, "//"+common.Site.URL+"") - msgList = addMETri(msgList, "//"+common.Site.URL+"\n", "//"+common.Site.URL+"") + msgList = addMETri(msgList, "//"+common.Site.URL+"\n", "//"+common.Site.URL+"
") for _, item := range msgList { res = common.ParseMessage(item.Msg, 1, "forums")