updat format

This commit is contained in:
Marc-Antoine Arnaud 2018-05-24 16:11:31 +02:00
parent ee6a4ac8cf
commit 1101b2e16f

View File

@ -110,10 +110,10 @@ fn default_visitor() {
}
macro_rules! test_type {
($visitor:tt, $message:expr) => ({
let t = Test{};
($visitor: tt, $message: expr) => {{
let t = Test {};
assert_eq!(t.$visitor(""), Err($message.to_string()));
})
}};
}
test_type!(visit_bool, "Unexpected bool \"\"");