aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/pull_create_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/pull_create_test.go')
-rw-r--r--integrations/pull_create_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/pull_create_test.go b/integrations/pull_create_test.go
index 8f39e8b028..84bcbff0dc 100644
--- a/integrations/pull_create_test.go
+++ b/integrations/pull_create_test.go
@@ -100,7 +100,7 @@ func TestPullCreate_TitleEscape(t *testing.T) {
htmlDoc = NewHTMLParser(t, resp.Body)
titleHTML, err := htmlDoc.doc.Find(".comments .event .text b").First().Html()
assert.NoError(t, err)
- assert.Equal(t, "<i>XSS PR</i>", titleHTML)
+ assert.Equal(t, "<strike>&lt;i&gt;XSS PR&lt;/i&gt;</strike>", titleHTML)
titleHTML, err = htmlDoc.doc.Find(".comments .event .text b").Next().Html()
assert.NoError(t, err)
assert.Equal(t, "&lt;u&gt;XSS PR&lt;/u&gt;", titleHTML)