ruby-changes:40188
From: nobu <ko1@a...>
Date: Sat, 24 Oct 2015 21:17:51 +0900 (JST)
Subject: [ruby-changes:40188] nobu:r52269 (trunk): relax error message format
nobu 2015-10-24 21:16:55 +0900 (Sat, 24 Oct 2015) New Revision: 52269 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52269 Log: relax error message format * test/fileutils/test_fileutils.rb (test_uptodate): relax error message format. [Feature #9025], [ruby-core:71178] [Bug #11617] Modified files: trunk/ChangeLog trunk/test/fileutils/test_fileutils.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 52268) +++ ChangeLog (revision 52269) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Oct 24 21:16:53 2015 Nobuyoshi Nakada <nobu@r...> + + * test/fileutils/test_fileutils.rb (test_uptodate): relax error + message format. [Feature #9025], [ruby-core:71178] [Bug #11617] + Sat Oct 24 21:06:43 2015 Shota Fukumori (sora_h) <her@s...> * lib/mkmf.rb: Revert r45640 because it may lead to link Index: test/fileutils/test_fileutils.rb =================================================================== --- test/fileutils/test_fileutils.rb (revision 52268) +++ test/fileutils/test_fileutils.rb (revision 52269) @@ -1464,7 +1464,7 @@ class TestFileUtils < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/fileutils/test_fileutils.rb#L1464 uptodate? Pathname.new('tmp/a'), [Pathname.new('tmp/b'), Pathname.new('tmp/c')] } # [Bug #6708] [ruby-core:46256] - assert_raise_with_message(ArgumentError, "wrong number of arguments (3 for 2)") { + assert_raise_with_message(ArgumentError, /wrong number of arguments \(.*\b3\b.* 2\)/) { uptodate?('new',['old', 'oldest'], {}) } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/