From e25e3851e39e64c39d9f9e2c69d03d9e6973c88e Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 3 Feb 2003 05:34:16 +0000 Subject: * 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 --- sample/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample') 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" -- cgit