Skip to content

Commit a583005

Browse files
committed
Added encode equals test
1 parent 6b72c52 commit a583005

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/Main.purs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,9 @@ main = runTest $ suite "Data.URI" do
475475
testPrintQuerySerializes
476476
(Query (Tuple "key1" (Just "value1") : Tuple "key2" (Just "value2") : Tuple "key1" (Just "value3") : Nil))
477477
"?key1=value1&key2=value2&key1=value3"
478+
testPrintQuerySerializes
479+
(Query (Tuple "k=ey" (Just "value=1") : Nil))
480+
"?k%3Dey=value%3D1"
478481
testPrintQuerySerializes (Query Nil) "?"
479482
testPrintQuerySerializes
480483
(Query (Tuple "key1" (Just "") : Tuple "key2" (Just "") : Nil))

0 commit comments

Comments
 (0)