summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_deserialize.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_deserialize.rs b/tests/test_deserialize.rs
index 6d5cc9b..58cf256 100644
--- a/tests/test_deserialize.rs
+++ b/tests/test_deserialize.rs
@@ -378,4 +378,11 @@ fn seq_of_struct() {
assert_eq!(rec_params,
Query { b: vec![Test { a: 1 }, Test { a: 2 }] }
);
+}
+
+#[test]
+fn correct_decoding() {
+ map_test!("foo=%24", "foo"["$"]);
+
+ map_test!("foo=%26", "foo"["&"]);
} \ No newline at end of file