From 595fc7a7f66da079e19a1f97281ac43d5f5eda05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BD=C3=A1dn=C3=ADk?= Date: Wed, 20 Oct 2021 00:43:48 +0300 Subject: [PATCH] Switch to cross-platform fail message --- src/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests.rs b/src/tests.rs index c55725dd..0d51af05 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -438,7 +438,7 @@ fn module_import_uses_internal_command() -> TestResult { fn module_import_does_not_parse_with_incorrect_delimiter() -> TestResult { fail_test( r#"module foo { export def a [] { 1 } }; use foo:.a"#, - "not found", + not_found_msg(), ) } @@ -446,7 +446,7 @@ fn module_import_does_not_parse_with_incorrect_delimiter() -> TestResult { fn module_import_does_not_parse_with_missing_tail() -> TestResult { fail_test( r#"module foo { export def a [] { 1 } }; use foo::"#, - "not found", + not_found_msg(), ) }