diff options
author | Clément Renault <renault.cle@gmail.com> | 2018-12-28 15:39:48 +0100 |
---|---|---|
committer | Clément Renault <renault.cle@gmail.com> | 2018-12-28 15:39:48 +0100 |
commit | 0372ba6925aa2c6db4d27022562064e25cdc5312 (patch) | |
tree | ac5b57a3964ece4a12c470332b69c49e5f2b083d /test-suite/tests | |
parent | 9780cdd0af41baacd8e7a52d6be3a98cff522314 (diff) | |
download | milf-rs-0372ba6925aa2c6db4d27022562064e25cdc5312.tar.gz milf-rs-0372ba6925aa2c6db4d27022562064e25cdc5312.zip |
Update the serde test-suite map! macro
Diffstat (limited to 'test-suite/tests')
-rw-r--r-- | test-suite/tests/serde.rs | 2 |
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 }) ); |