aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-15 18:16:14 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-15 18:16:14 +0000
commit0040ed402063ef2c846bae09027d7ca4ea2215db (patch)
treedef3f3a12fd749727a38d9ad935c6522c5ccb8bc /bootstraptest
parent9c0be2d5165286703e2627e80fdd216a63da9215 (diff)
downloadruby-0040ed402063ef2c846bae09027d7ca4ea2215db.tar.gz
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 4788cdf93c..917091df0c 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -49,3 +49,7 @@ assert_valid_syntax('1.times {|i|print (42),1;}', '[ruby-list:44479]')
assert_normal_exit %q{
File.read("empty", nil, nil, {})
}, '[ruby-dev:33072]'
+
+assert_normal_exit %q{
+ "abc".gsub(/./, "a" => "z")
+}