Skip to content

Commit

Permalink
Fix warning: ambiguous first argument
Browse files Browse the repository at this point in the history
This fixes the following warning:

```
railties/test/application/rake/dbs_test.rb:265: warning: ambiguous first argument; put parentheses or a space even after `/' operator
```
  • Loading branch information
y-yagi committed Jul 24, 2017
1 parent 9569a0c commit 8a0f235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/test/application/rake/dbs_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def db_structure_dump_and_load(expected_database)
test "db:schema:load fails if schema.rb doesn't exist yet" do
Dir.chdir(app_path) do
stderr_output = capture(:stderr) { `bin/rails db:schema:load` }
assert_match /Run `rails db:migrate` to create it/, stderr_output
assert_match(/Run `rails db:migrate` to create it/, stderr_output)
end
end

Expand Down

0 comments on commit 8a0f235

Please sign in to comment.