Skip to content

Commit 86ca8a7

Browse files
committed
Add failing test for userInfo containing @
1 parent fd6a5f3 commit 86ca8a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Main.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ main = runTest $ suite "Data.URI" do
115115

116116
suite "UserInfo parser" do
117117
testRunParseSuccess UserInfo.parser "user" (UserInfo "user")
118+
testRunParseSuccess UserInfo.parser "u%40ser" (UserInfo "u@ser")
118119
testRunParseSuccess UserInfo.parser "spaced%20user" (UserInfo "spaced user")
119120
testRunParseSuccess UserInfo.parser "user:password" (UserInfo "user:password")
120121
testRunParseSuccess UserInfo.parser "spaced%20user:password%25%C2%A3" (UserInfo "spaced user:password%£")

0 commit comments

Comments
 (0)