fix wasi test template code

This commit is contained in:
Mark McCaskey 2019-07-12 15:17:10 -07:00
parent cbac3ed92d
commit a608f3aad0

View File

@ -54,9 +54,10 @@ macro_rules! assert_wasi_output {
let expected_output = include_str!($expected); let expected_output = include_str!($expected);
assert!( assert!(
assert_cond, output.contains(expected_output),
"Output: `{}` does not contain expected output: `{}`", "Output: `{}` does not contain expected output: `{}`",
output, expected_output output,
expected_output
); );
}}; }};
} }