aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_regexp.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-29 05:46:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-29 05:46:04 +0000
commit921b2d1cfb67bae2941642015fbe35f7e7b81698 (patch)
treed1fe3820094f7bc1b8cb1fb26fec50810901094f /test/ruby/test_regexp.rb
parente1cc51407329230aab32088ed67f78b0c5c23e8b (diff)
downloadruby-921b2d1cfb67bae2941642015fbe35f7e7b81698.tar.gz
* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
use more descriptive assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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