Skip to content

Commit

Permalink
Use suggestion fix
Browse files Browse the repository at this point in the history
Co-Authored-By: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Hiroshi Hatake <hatake@clear-code.com>
  • Loading branch information
cosmo0920 and ganmacs committed Mar 4, 2020
1 parent 719fdb8 commit a1e736a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_supervisor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def test_rpc_server

assert{ $log.out.logs.first.end_with?(info_msg) }
ensure
$log.out.reset unless $log.out.is_a?(Fluent::LogDeviceIO)
$log.out.reset if $log.out.is_a?(Fluent::Test::DummyLogDevice)
end

def test_load_config
Expand Down

0 comments on commit a1e736a

Please sign in to comment.