summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2022-11-21 16:13:15 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-11-21 16:13:15 +0900
commit730b841f8d6ba76d793a608cc20f46684a7d2cb1 (patch)
tree6c37f474414606e1cd4b5d860e263e60761ad325
parent166598a6eb0108d41874fd3dbe4d2c2af8cfea71 (diff)
Prevent a "warning: ambiguity between regexp and two divisions"
-rw-r--r--test/irb/test_cmd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb
index 4c39dc0d21..db48e1f1ae 100644
--- a/test/irb/test_cmd.rb
+++ b/test/irb/test_cmd.rb
@@ -621,7 +621,7 @@ module TestIRB
)
assert_empty err
- assert_match /Can not find file: test_cmd_non_existing_path\.rb/, out
+ assert_match(/Can not find file: test_cmd_non_existing_path\.rb/, out)
end
def test_edit_with_constant