Skip to content

Commit

Permalink
fix wasi test template code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed Jul 12, 2019
1 parent cbac3ed commit a608f3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/wasi-tests/tests/wasitests/_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ macro_rules! assert_wasi_output {
let expected_output = include_str!($expected);

assert!(
assert_cond,
output.contains(expected_output),
"Output: `{}` does not contain expected output: `{}`",
output, expected_output
output,
expected_output
);
}};
}

0 comments on commit a608f3a

Please sign in to comment.