Skip to content

Commit

Permalink
Fixed leaked tempfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu authored and ioquatix committed Dec 17, 2019
1 parent 9a902dd commit fb3eff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/logger/test_logdevice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def test_shifting_age_variants
end

def test_invalid_shifting_age
assert_raise(ArgumentError) { Logger.new(@filename, 'invalid') }
assert_raise(ArgumentError) { Logger::Period.next_rotate_time(Time.now, 'invalid') }
assert_raise(ArgumentError) { Logger::Period.previous_period_end(Time.now, 'invalid') }
end

Expand Down

0 comments on commit fb3eff1

Please sign in to comment.