aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorClément Renault <renault.cle@gmail.com>2018-12-28 15:39:48 +0100
committerClément Renault <renault.cle@gmail.com>2018-12-28 15:39:48 +0100
commit0372ba6925aa2c6db4d27022562064e25cdc5312 (patch)
treeac5b57a3964ece4a12c470332b69c49e5f2b083d /test-suite
parent9780cdd0af41baacd8e7a52d6be3a98cff522314 (diff)
downloadmilf-rs-0372ba6925aa2c6db4d27022562064e25cdc5312.tar.gz
milf-rs-0372ba6925aa2c6db4d27022562064e25cdc5312.zip
Update the serde test-suite map! macro
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/tests/serde.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-suite/tests/serde.rs b/test-suite/tests/serde.rs
index 6bcd145..9bbf7e0 100644
--- a/test-suite/tests/serde.rs
+++ b/test-suite/tests/serde.rs
@@ -65,7 +65,7 @@ macro_rules! error {
macro_rules! map( ($($k:ident: $v:expr),*) => ({
let mut _m = Map::new();
- $(_m.insert(stringify!($k).to_string(), $v);)*
+ $(_m.insert(stringify!($k).to_string(), t!(Value::try_from($v)));)*
_m
}) );