From 2619f216fef06c9fca948ca729a0e23b62996f09 Mon Sep 17 00:00:00 2001 From: drbrain Date: Tue, 28 Jun 2011 02:45:29 +0000 Subject: * 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 --- test/rake/test_rake_functional.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test/rake/test_rake_functional.rb') 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. -- cgit v1.2.3