Skip to content

Commit 0a84b72

Browse files
committed
Remove deprecation on calling assert_equal with nil
1 parent b3a214d commit 0a84b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/test/application/backtrace_cleaner_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class BacktraceCleanerTest < ActiveSupport::TestCase
3939

4040
cleaned = @cleaner.clean_frame(frame)
4141

42-
assert_equal nil, cleaned
42+
assert_nil cleaned
4343
end
4444

4545
test "#clean_frame does not silence when BACKTRACE is set" do

0 commit comments

Comments
 (0)