diff --git a/src/protocol/tests/parser_inference.rs b/src/protocol/tests/parser_inference.rs index 7158a305e382d1e0bf266849422f1ffbd621f67f..fdcaa200f22ea77044e4313d91c8e660f131b2ac 100644 --- a/src/protocol/tests/parser_inference.rs +++ b/src/protocol/tests/parser_inference.rs @@ -461,7 +461,7 @@ fn test_explicit_polymorph_argument() { // Failed because type inferencer did not construct polymorph errors by // considering that argument/return types failed against explicitly // specified polymorphic arguments - Tester::new_single_source_expect_err("explicit polymorph mismatch", " + Tester::new_single_source_expect_err("explicit polymorph argument mismatch", " func foo(T a, T b) -> T { return a + b; } struct Bar{A a, B b} func test() -> u32 { @@ -476,7 +476,7 @@ fn test_explicit_polymorph_argument() { }); // Similar to above, now for return type - Tester::new_single_source_expect_err("explicit polymorph mismatch", " + Tester::new_single_source_expect_err("explicit polymorph return mismatch", " func foo(T a, T b) -> T { return a + b; } func test() -> u32 { return foo(5, 6);