aboutsummaryrefslogtreecommitdiffstats
path: root/test/rake/test_rake_functional.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-28 02:45:29 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-28 02:45:29 +0000
commit2619f216fef06c9fca948ca729a0e23b62996f09 (patch)
tree01c462490ba269df417fad115570ace6a765a25f /test/rake/test_rake_functional.rb
parent84ece951630c61eddab8be47b80fc1a7f774175f (diff)
downloadruby-2619f216fef06c9fca948ca729a0e23b62996f09.tar.gz
* 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
Diffstat (limited to 'test/rake/test_rake_functional.rb')
-rw-r--r--test/rake/test_rake_functional.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/rake/test_rake_functional.rb b/test/rake/test_rake_functional.rb
index e27d3cf68b..f95a7689a7 100644
--- a/test/rake/test_rake_functional.rb
+++ b/test/rake/test_rake_functional.rb
@@ -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.