From eba3484611707fcb0246622a392f63745ffca606 Mon Sep 17 00:00:00 2001 From: JT <547158+jntrnr@users.noreply.github.com> Date: Sun, 3 Oct 2021 06:17:51 +1300 Subject: [PATCH] Update tests.rs --- src/tests.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/tests.rs b/src/tests.rs index 5436f16b8..7416aecb6 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -393,10 +393,7 @@ fn module_import_uses_internal_command() -> TestResult { #[test] fn hides_def() -> TestResult { - fail_test( - r#"def foo [] { "foo" }; hide foo; foo"#, - "not found", - ) + fail_test(r#"def foo [] { "foo" }; hide foo; foo"#, "not found") } #[test] @@ -409,10 +406,7 @@ fn hides_def_then_redefines() -> TestResult { #[test] fn hides_def_in_scope_1() -> TestResult { - fail_test( - r#"def foo [] { "foo" }; do { hide foo; foo }"#, - "not found", - ) + fail_test(r#"def foo [] { "foo" }; do { hide foo; foo }"#, "not found") } #[test]