mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
remove meaningless assert true
This commit is contained in:
parent
6688b6393a
commit
f3c9f32664
1 changed files with 0 additions and 1 deletions
|
@ -612,7 +612,6 @@ XML
|
|||
send(method, :test_remote_addr)
|
||||
assert false, "expected RuntimeError, got nothing"
|
||||
rescue RuntimeError => error
|
||||
assert true
|
||||
assert_match(%r{@#{variable} is nil}, error.message)
|
||||
rescue => error
|
||||
assert false, "expected RuntimeError, got #{error.class}"
|
||||
|
|
Loading…
Reference in a new issue