summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-03 05:34:16 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-03 05:34:16 +0000
commite25e3851e39e64c39d9f9e2c69d03d9e6973c88e (patch)
treeb7b065aabe639d272c8e53defbe59daac51bbf23 /sample
parentc4a05cd4cd6c1360ceee3547e8eb8c3a4430eb71 (diff)
downloadruby-e25e3851e39e64c39d9f9e2c69d03d9e6973c88e.tar.gz
ruby-e25e3851e39e64c39d9f9e2c69d03d9e6973c88e.tar.xz
ruby-e25e3851e39e64c39d9f9e2c69d03d9e6973c88e.zip
* re.c (rb_memsearch): algolithm body of String#index.
* error.c (Init_Exception): "to_str" removed. * eval.c (eval): should not rely on Exception#to_str * eval.c (compile_error): ditto. * error.c (err_append): ditto. * hash.c (rb_hash_merge): Hash#merge, non destructive "update". now there's also Hash#merge! which is an alias to "update". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r--sample/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/test.rb b/sample/test.rb
index c47ceedd4..4b0099058 100644
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -1228,7 +1228,7 @@ if defined? Process.kill
rescue
x = $!
end
- test_ok(x && /Interrupt/ =~ x)
+ test_ok(x && /Interrupt/ =~ x.message)
end
test_check "eval"