From 89350e07a743b5e657129b7ff44a61f1cddc2cf4 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Tue, 29 Dec 2020 06:06:19 +0900 Subject: [PATCH] test: improve test name --- test/test-assertions.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/test-assertions.rb b/test/test-assertions.rb index b75bfe1d..6794815d 100644 --- a/test/test-assertions.rb +++ b/test/test-assertions.rb @@ -956,13 +956,6 @@ def test_assert_not_match_pass_with_message end end - def test_assert_not_match_pass_not_regexp - check_fail(" was expected to not match\n" + - "<\"asdf\">.") do - assert_not_match("asdf", "asdf") - end - end - def test_assert_not_match_fail_match check_fail(" was expected to not match\n" + "<\"string\">.") do @@ -970,6 +963,13 @@ def test_assert_not_match_fail_match end end + def test_assert_not_match_fail_match_string + check_fail(" was expected to not match\n" + + "<\"asdf\">.") do + assert_not_match("asdf", "asdf") + end + end + def test_assert_not_match_fail_match_with_message check_fail("message.\n" + " was expected to not match\n" +