Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Thornton <art27@cantab.net>
  • Loading branch information
zeripath committed Apr 9, 2021
1 parent f478346 commit 506247d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sanitize_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ func TestLinks(t *testing.T) {
expected: `<img src="giraffe.gif"/>`,
},
{
in: `<img src="giraffe.gif?height=500&width=500" />`,
expected: `<img src="giraffe.gif?height=500&width=500"/>`,
in: `<img src="giraffe.gif?height=500&width=500&flag" />`,
expected: `<img src="giraffe.gif?height=500&width=500&flag"/>`,
},
}

Expand Down

0 comments on commit 506247d

Please sign in to comment.