summaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-13 09:05:49 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-13 09:05:49 +0000
commit122ccdbf5e58d00ffe8cc8873566fc753a9ab15d (patch)
treea5d63eccc053ea7d07ddfb2ca47bc3203f8558fd /bootstraptest
parentd873f09705f13723474199671408857ca4e7431d (diff)
downloadruby-122ccdbf5e58d00ffe8cc8873566fc753a9ab15d.tar.gz
ruby-122ccdbf5e58d00ffe8cc8873566fc753a9ab15d.tar.xz
ruby-122ccdbf5e58d00ffe8cc8873566fc753a9ab15d.zip
* string.c (str_gsub): should copy encoding to the result.
* sprintf.c (rb_str_format): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_knownbug.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb
index 73829fb0a..5bc093ecb 100644
--- a/bootstraptest/test_knownbug.rb
+++ b/bootstraptest/test_knownbug.rb
@@ -70,7 +70,7 @@ assert_equal 'ok', %q{
begin
s["\xb0\xa3"] = "foo"
:ng
- rescue IndexError
+ rescue ArgumentError
:ok
end
}