From 70cf9bb86ff5ea277f660eec02327ac26bba2144 Mon Sep 17 00:00:00 2001 From: mrudrego Date: Thu, 28 Sep 2023 16:14:21 +0530 Subject: [PATCH] Update test_system_config.rb Signed-off-by: mrudrego --- test/config/test_system_config.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/config/test_system_config.rb b/test/config/test_system_config.rb index 502fb7d75a..ca33a9fdb2 100644 --- a/test/config/test_system_config.rb +++ b/test/config/test_system_config.rb @@ -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) @@ -160,7 +160,7 @@ def parse_text(text) 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