From 96ff94c95de5ba5160bba12dbe4949558d59a8f4 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 24 Oct 2015 12:16:55 +0000 Subject: [PATCH] relax error message format * test/fileutils/test_fileutils.rb (test_uptodate): relax error message format. [Feature #9025], [ruby-core:71178] [Bug #11617] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/fileutils/test_fileutils.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a984b13fd4..1cb0d0597d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Oct 24 21:16:53 2015 Nobuyoshi Nakada + + * 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) * lib/mkmf.rb: Revert r45640 because it may lead to link diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index fffa2b8853..028f63b3dc 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -1464,7 +1464,7 @@ class TestFileUtils < Test::Unit::TestCase 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