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
@ -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…
x
Reference in New Issue
Block a user