mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/test/unit/assertions.rb (assert_no_match): alias for
backward compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
12000bc2de
commit
180bf48fea
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Feb 11 14:33:18 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/test/unit/assertions.rb (assert_no_match): alias for
|
||||
backward compatibility.
|
||||
|
||||
Fri Feb 11 12:06:48 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby.c (add_gems, require_libraries, proc_options): add
|
||||
|
|
|
@ -155,6 +155,7 @@ EOT
|
|||
mname = ('assert_not_' << m.to_s[/.*?_(.*)/, 1])
|
||||
alias_method(mname, m) unless ms.include? mname
|
||||
end
|
||||
alias assert_no_match assert_not_match
|
||||
|
||||
def build_message(head, template=nil, *arguments)
|
||||
template &&= template.chomp
|
||||
|
|
Loading…
Reference in a new issue