Fixed test

Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
This commit is contained in:
Alexey Terentyev 2018-06-06 12:42:39 +03:00
parent bf02f8d816
commit 637e659855
No known key found for this signature in database
GPG Key ID: 60D6C550AEEBB467

View File

@ -185,6 +185,6 @@ func TestRepoDescriptionHTML(t *testing.T) {
actual := repo.DescriptionHTML()
expected := fmt.Sprintf(description,
fmt.Sprintf(`<a href="%[1]s">%[1]s</a>`, url))
fmt.Sprintf(`<a href="%[1]s" target="_blank" rel="noopener">%[1]s</a>`, url))
assert.EqualValues(t, expected, actual)
}