Update the serde test-suite map! macro
This commit is contained in:
parent
8b1cff0fce
commit
b66f6108d3
|
@ -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
|
||||||
}) );
|
}) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue