diff --git a/src/protocol/tests/parser_inference.rs b/src/protocol/tests/parser_inference.rs index 6855fa19d14c0253ac287c308363f9cb46b5c279..24cc508e75e7af70f556403233bb27b8c5565652 100644 --- a/src/protocol/tests/parser_inference.rs +++ b/src/protocol/tests/parser_inference.rs @@ -366,8 +366,8 @@ fn test_failed_polymorph_inference() { " ).error(|e| { e .assert_num(2) - .assert_msg_has(0, "the type 'Uninteresting'") - .assert_msg_has(1, "type 'Uninteresting'"); + .assert_any_msg_has("type 'Uninteresting'") + .assert_any_msg_has("type 'Uninteresting'"); }); Tester::new_single_source_expect_err(