mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
added an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
71976790ec
commit
cbc22bf9bd
1 changed files with 4 additions and 0 deletions
|
@ -24,4 +24,8 @@ class TestRegexp < Test::Unit::TestCase
|
|||
Regexp.new(s, nil, "u")
|
||||
end
|
||||
end
|
||||
|
||||
def test_ruby_dev_31309
|
||||
assert_equal('Ruby', 'Ruby'.sub(/[^a-z]/i, '-'))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue