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
This commit is contained in:
parent
623403fa74
commit
96ff94c95d
@ -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>
|
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
|
* lib/mkmf.rb: Revert r45640 because it may lead to link
|
||||||
|
@ -1464,7 +1464,7 @@ class TestFileUtils < Test::Unit::TestCase
|
|||||||
uptodate? Pathname.new('tmp/a'), [Pathname.new('tmp/b'), Pathname.new('tmp/c')]
|
uptodate? Pathname.new('tmp/a'), [Pathname.new('tmp/b'), Pathname.new('tmp/c')]
|
||||||
}
|
}
|
||||||
# [Bug #6708] [ruby-core:46256]
|
# [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'], {})
|
uptodate?('new',['old', 'oldest'], {})
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user