Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Commit

Permalink
Update the serde test-suite map! macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerollmops committed Dec 28, 2018
1 parent 9780cdd commit 0372ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-suite/tests/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}) );

Expand Down

0 comments on commit 0372ba6

Please sign in to comment.