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
commita6820c1de53ba823b722bed6ce79a9ac1d7c71c6 (patch)
treea4d71fbaa226a7c5929420debc5a9ac0593b1225 /test/fileutils
parent0ad24655c4129251528458400bff534cd790fbe5 (diff)
downloadruby-a6820c1de53ba823b722bed6ce79a9ac1d7c71c6.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