mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[Feature #18172] Fix duplicate test name
This commit is contained in:
parent
cbbda3e648
commit
475a4651b6
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ class TestRegexp < Test::Unit::TestCase
|
|||
assert_equal("oge\u3042", m.match(:bar))
|
||||
end
|
||||
|
||||
def test_match_matchsubstring
|
||||
def test_match_match_length
|
||||
m = /(.)(.)(\d+)(\d)(\w)?/.match("THX1138.")
|
||||
assert_equal(6, m.match_length(0))
|
||||
assert_equal(1, m.match_length(4))
|
||||
|
|
Loading…
Add table
Reference in a new issue