summaryrefslogtreecommitdiffstats
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
commit9da764f1a11f010b90b14cc32e729722559b59e3 (patch)
treedef3f3a12fd749727a38d9ad935c6522c5ccb8bc /bootstraptest
parent197536164f3e9258ed69dce2c2e26ff43fa8f89c (diff)
downloadruby-9da764f1a11f010b90b14cc32e729722559b59e3.tar.gz
ruby-9da764f1a11f010b90b14cc32e729722559b59e3.tar.xz
ruby-9da764f1a11f010b90b14cc32e729722559b59e3.zip
add a test.
git-svn-id: http://svn.ruby-lang.org/repos/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 4788cdf93..917091df0 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")
+}