1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #34771 from utilum/mismatched_indentation

Fix Ruby 2.6 `warning: mismatched indentations at 'rescue' with 'def' at 15`.
This commit is contained in:
Ryuta Kamizono 2018-12-21 21:30:36 +09:00 committed by GitHub
commit a84ced1d7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,8 +14,8 @@ class TestLoadError < ActiveSupport::TestCase
def test_path
load "nor/this/one.rb"
rescue LoadError => e
assert_equal "nor/this/one.rb", e.path
rescue LoadError => e
assert_equal "nor/this/one.rb", e.path
end
def test_is_missing_with_nil_path