From 0372ba6925aa2c6db4d27022562064e25cdc5312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Fri, 28 Dec 2018 15:39:48 +0100 Subject: Update the serde test-suite map! macro --- test-suite/tests/serde.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) ); -- cgit v1.2.3