Skip to content

Commit d518457

Browse files
committed
Rubocop
1 parent 3aa7d79 commit d518457

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

activesupport/test/logger_test.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_log_outputs_to
2626

2727
assert_not Logger.logger_outputs_to?(@logger, STDOUT), "Expected logger_outputs_to? to STDOUT to return false, but was true"
2828
assert_not Logger.logger_outputs_to?(@logger, STDOUT, STDERR), "Expected logger_outputs_to? to STDOUT or STDERR to return false, but was true"
29-
assert_not Logger.logger_outputs_to?(@logger, 'log/production.log')
29+
assert_not Logger.logger_outputs_to?(@logger, "log/production.log")
3030
end
3131

3232
def test_log_outputs_to_with_a_broadcast_logger
@@ -45,8 +45,8 @@ def test_log_outputs_to_with_a_filename
4545

4646
assert Logger.logger_outputs_to?(logger, t)
4747
assert Logger.logger_outputs_to?(logger, t.path)
48-
assert Logger.logger_outputs_to?(logger, File.join(File.dirname(t.path), '.', File.basename(t.path)))
49-
assert_not Logger.logger_outputs_to?(logger, 'log/production.log')
48+
assert Logger.logger_outputs_to?(logger, File.join(File.dirname(t.path), ".", File.basename(t.path)))
49+
assert_not Logger.logger_outputs_to?(logger, "log/production.log")
5050
assert_not Logger.logger_outputs_to?(logger, STDOUT)
5151
ensure
5252
logger.close

0 commit comments

Comments
 (0)