From cb5e42c80ed13d0e13e2d34c1efce0dd2927aa64 Mon Sep 17 00:00:00 2001 From: Przemyslaw Kalucki Date: Wed, 11 Sep 2024 18:48:13 +0200 Subject: [PATCH] updated TestLoadConfig --- config_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config_test.go b/config_test.go index cbd5529..c6eb1fc 100644 --- a/config_test.go +++ b/config_test.go @@ -9,14 +9,14 @@ import ( func TestLoadConfig(t *testing.T) { yamlContent := ` logs: -- path: "/path/to/log/*.log" - type: delete -- path: - - "/path/to/log1/*.log" - - "/path/to/log2/*.log" - type: rotate - condition: - size: "100MB" + - path: "/path/to/log/*.log" + type: delete + - path: + - "/path/to/log1/*.log" + - "/path/to/log2/*.log" + type: rotate + condition: + size: "100MB" schedule: "*/5 * * * *" `