Skip to content

Commit

Permalink
fixed warnings
Browse files Browse the repository at this point in the history
```
test/test_rake_task.rb:467: warning: ambiguous first argument; put parentheses or a space even after `/' operator
test/test_rake_task.rb:470: warning: ambiguous first argument; put parentheses or a space even after `/' operator
```
  • Loading branch information
walf443 committed Sep 25, 2017
1 parent 32dcaa6 commit 7356091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_rake_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,10 @@ def test_suggests_valid_rake_task_names
task :test
error = assert_raises(RuntimeError) { Task[:testt] }

assert_match /Don\'t know how to build task \'testt\'/, error.message
assert_match(/Don\'t know how to build task \'testt\'/, error.message)

if defined?(::DidYouMean::SpellChecker) && defined?(::DidYouMean::Formatter)
assert_match /Did you mean\? test/, error.message
assert_match(/Did you mean\? test/, error.message)
end
end
end

0 comments on commit 7356091

Please sign in to comment.