Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
Add tests for case insensitive matching
  • Loading branch information
hobeone committed Mar 7, 2020
2 parents 40b2fc5 + 1ed4d84 commit 57fc7de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/shared/parseutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ func TestDecodeEntities(t *testing.T) {
{"&lt;foo&gt;", "<foo>"},
{"a &quot;b&quot; &apos;c&apos;", "a \"b\" 'c'"},
{"foo &amp;&amp; bar", "foo && bar"},
{"&AMP;", "&"},
{"&LT;", "<"},
{"&GT;", ">"},
{"&APOS;", "'"},
{"&QUOT;", "\""},

{"&#34;foo&#34;", "\"foo\""},
{"&#x61;&#x062;&#x0063;", "abc"},
Expand Down

0 comments on commit 57fc7de

Please sign in to comment.