mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #34421 from albertoalmagro/use-assert-not-instead-of-refute
Prefer assert_not instead of refute [ci skip]
This commit is contained in:
commit
ab5d5c95ec
2 changed files with 2 additions and 2 deletions
|
@ -18,6 +18,6 @@ require "minitest/autorun"
|
|||
class BugTest < Minitest::Test
|
||||
def test_stuff
|
||||
assert "zomg".present?
|
||||
refute "".present?
|
||||
assert_not "".present?
|
||||
end
|
||||
end
|
||||
|
|
|
@ -17,6 +17,6 @@ require "minitest/autorun"
|
|||
class BugTest < Minitest::Test
|
||||
def test_stuff
|
||||
assert "zomg".present?
|
||||
refute "".present?
|
||||
assert_not "".present?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue