From 0d78d991caa9aed8ff3db19586dcf2ac6c3a7fe6 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 25 Oct 2010 00:34:14 +0000 Subject: [PATCH] * test/ruby/test_array.rb (test_rotate!): fix expected message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_array.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index 44f71d3495..6724634691 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -2155,7 +2155,7 @@ class TestArray < Test::Unit::TestCase assert_equal([], a.rotate!(-13)) a = [].freeze e = assert_raise(RuntimeError) {a.rotate!} - assert_match(/can't modify frozen array/, e.message) + assert_match(/can't modify frozen/, e.message) a = [1,2,3] assert_raise(ArgumentError) { a.rotate!(1, 1) } end