Update the serde test-suite map! macro

This commit is contained in:
Clément Renault 2018-12-28 15:39:48 +01:00
parent 8b1cff0fce
commit b66f6108d3

View file

@ -65,7 +65,7 @@ macro_rules! error {
macro_rules! map( ($($k:ident: $v:expr),*) => ({ macro_rules! map( ($($k:ident: $v:expr),*) => ({
let mut _m = Map::new(); let mut _m = Map::new();
$(_m.insert(stringify!($k).to_string(), $v);)* $(_m.insert(stringify!($k).to_string(), t!(Value::try_from($v)));)*
_m _m
}) ); }) );