diff --git a/lib/wasi-tests/tests/wasitests/_common.rs b/lib/wasi-tests/tests/wasitests/_common.rs index 5a4afc91c..b22af8989 100644 --- a/lib/wasi-tests/tests/wasitests/_common.rs +++ b/lib/wasi-tests/tests/wasitests/_common.rs @@ -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 ); }}; }