diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-09-17 08:38:29 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-09-17 08:38:29 +0900 |
commit | 475a4651b639c943887c57d20704bab27e397eae (patch) | |
tree | fdcea4f44a96698c9d92d871f8d3919c5dba69ab /test/ruby/test_regexp.rb | |
parent | cbbda3e648f8eff032679cdddb0ce48643cdd723 (diff) |
[Feature #18172] Fix duplicate test name
Diffstat (limited to 'test/ruby/test_regexp.rb')
-rw-r--r-- | test/ruby/test_regexp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_regexp.rb b/test/ruby/test_regexp.rb index b9e64a47e7..7c76f5c150 100644 --- a/test/ruby/test_regexp.rb +++ b/test/ruby/test_regexp.rb @@ -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)) |