mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rake: Update rake to fix some bugs and hide deprecated features
from RDoc. * lib/rake/version.rb: Bump version to 0.9.2.1 to distinguish it from the released version. * NEWS: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
84ece95163
commit
2619f216fe
19 changed files with 170 additions and 84 deletions
|
@ -117,7 +117,7 @@ class TestRakeFunctional < Rake::TestCase
|
|||
|
||||
rake
|
||||
|
||||
assert_not_match %r{^BAD:}, @out
|
||||
refute_match %r{^BAD:}, @out
|
||||
end
|
||||
|
||||
def test_rbext
|
||||
|
@ -441,7 +441,7 @@ class TestRakeFunctional < Rake::TestCase
|
|||
|
||||
rake "-T"
|
||||
|
||||
assert_not_match("t2", @out)
|
||||
refute_match("t2", @out)
|
||||
end
|
||||
|
||||
def test_comment_after_desc_is_ignored
|
||||
|
@ -476,10 +476,6 @@ class TestRakeFunctional < Rake::TestCase
|
|||
|
||||
private
|
||||
|
||||
def assert_not_match(pattern, string, comment="'#{pattern}' was found (incorrectly) in '#{string}.inspect")
|
||||
assert_nil Regexp.new(pattern).match(string), comment
|
||||
end
|
||||
|
||||
# Run a shell Ruby command with command line options (using the
|
||||
# default test options). Output is captured in @out, @err and
|
||||
# @status.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue