Skip to content

Instantly share code, notes, and snippets.

@danlucraft
Created June 7, 2011 08:59
Show Gist options
  • Save danlucraft/1011922 to your computer and use it in GitHub Desktop.
Save danlucraft/1011922 to your computer and use it in GitHub Desktop.
diff --git a/test/test_rake_application.rb b/test/test_rake_application.rb
index 4a99cf6..a0910c9 100644
--- a/test/test_rake_application.rb
+++ b/test/test_rake_application.rb
@@ -321,7 +321,7 @@ class TestRakeApplication < Rake::TestCase
ARGV << '-f' << '-s' << '--rakelib=""'
assert_raises(SystemExit) {
_, err = capture_io { @app.run }
- assert_match(/see full trace/, err)
+ assert_match(/WOOO/, err)
}
ensure
ARGV.clear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment