Actions
Bug #896
closedMiniTest::Assertions#assert_match arguments order is different from Test::Unit::Assertions::assert_match
Description
=begin
I write a simple patch same as 'test/unit'.
more details to see test code of 'test/unit'.
=end
Files
Updated by yugui (Yuki Sonoda) almost 16 years ago
- Target version set to 1.9.1 Release Candidate
=begin
=end
Updated by zenspider (Ryan Davis) almost 16 years ago
- Status changed from Open to Closed
=begin
Argument order fixed. Sorry.
I left in respond_to check for ~= and non-forcing of Regexp.new. This allows assert_match to be used with custom objects that define =~. Not everything should be text oriented for assert_match.
Also fixed refute_match and made it act the same wrt respond_to etc.
=end
Actions
Like0
Like0Like0Like0