summaryrefslogtreecommitdiff
path: root/test/ruby/test_regexp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_regexp.rb')
-rw-r--r--test/ruby/test_regexp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb
index 35f23685eb..00c2ddb5e9 100644
--- a/test/ruby/test_regexp.rb
+++ b/test/ruby/test_regexp.rb
@@ -637,8 +637,8 @@ class TestRegexp < Test::Unit::TestCase
check(/\u3042\d/, ["\u30421", "\u30422"])
# CClassTable cache test
- assert(/\u3042\d/.match("\u30421"))
- assert(/\u3042\d/.match("\u30422"))
+ assert_match(/\u3042\d/, "\u30421")
+ assert_match(/\u3042\d/, "\u30422")
end
def test_char_class