aboutsummaryrefslogtreecommitdiffstats
path: root/test/fileutils
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-24 12:16:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-24 12:16:55 +0000
commit96ff94c95de5ba5160bba12dbe4949558d59a8f4 (patch)
treea4d71fbaa226a7c5929420debc5a9ac0593b1225 /test/fileutils
parent623403fa74314ba63b2ac9fc5e402a612191e245 (diff)
downloadruby-96ff94c95de5ba5160bba12dbe4949558d59a8f4.tar.gz
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
Diffstat (limited to 'test/fileutils')
-rw-r--r--test/fileutils/test_fileutils.rb2
1 files changed, 1 insertions, 1 deletions
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