1
0
Fork 0
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:
tadf 2007-08-05 04:06:08 +00:00
parent 71976790ec
commit cbc22bf9bd

View file

@ -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