Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix failures on 1.8 and warnings on 1.9.3

  • Loading branch information...
commit 164bd2f323b32467ca3b15703e146f020d488d9d 1 parent 0f09c35
@drbrain drbrain authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 test/test_rake_application.rb
View
7 test/test_rake_application.rb
@@ -154,8 +154,7 @@ def test_load_rakefile_doesnt_print_rakefile_directory_from_same_dir
end
end
- _, location = @app.find_rakefile_location
- refute_match(/\(in #{location}\)/, err)
+ assert_empty err
end
def test_load_rakefile_from_subdir
@@ -182,7 +181,6 @@ def test_load_rakefile_prints_rakefile_directory_from_subdir
end
end
- _, location = @app.find_rakefile_location
assert_equal "(in #{@tempdir}\)\n", err
end
@@ -198,8 +196,7 @@ def test_load_rakefile_doesnt_print_rakefile_directory_from_subdir_if_silent
end
end
- _, location = @app.find_rakefile_location
- refute_match(/\(in #{location}\)/, err)
+ assert_empty err
end
def test_load_rakefile_not_found
Please sign in to comment.
Something went wrong with that request. Please try again.