Skip to content

Commit

Permalink
Update test_system_config.rb
Browse files Browse the repository at this point in the history
Signed-off-by: mrudrego <[email protected]>
  • Loading branch information
mrudrego committed Oct 5, 2023
1 parent c7bc6a3 commit 70cf9bb
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 70cf9bb

Please sign in to comment.