diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/fileutils/test_fileutils.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Oct 24 21:16:53 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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@sorah.jp> * 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 |