Skip to content

Commit

Permalink
Update test_system_config.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
mrudrego committed Sep 28, 2023
1 parent 5649803 commit 1a7e8ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/config/test_system_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def parse_text(text)
data('daily' => "daily",
'weekly' => 'weekly',
'monthly' => 'monthly')
test "symbols for rotate_age" do |age|
test "strings for rotate_age" do |age|
conf = parse_text(<<-EOS)
<system>
<log>
Expand All @@ -160,7 +160,7 @@ def parse_text(text)
</system>
EOS
sc = Fluent::SystemConfig.new(conf)
assert_equal(age.to_sym, sc.log.rotate_age)
assert_equal(age.to_s, sc.log.rotate_age)
end

test "numeric number for rotate age" do
Expand Down

0 comments on commit 1a7e8ed

Please sign in to comment.