From 3d4a968b105a32f96cf4a7f3f3000b0c113c1fcd Mon Sep 17 00:00:00 2001 From: akorotkov Date: Wed, 1 Jan 2025 16:52:00 +0200 Subject: [PATCH] add empty test --- pkg/dto/compare_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkg/dto/compare_test.go b/pkg/dto/compare_test.go index 6aa69a68..806c772f 100644 --- a/pkg/dto/compare_test.go +++ b/pkg/dto/compare_test.go @@ -359,6 +359,15 @@ func TestLoggerConfig_Compare(t *testing.T) { "Filename changed: app.log -> new.log", }, }, + { + name: "empty configs", + current: &LoggerConfig{ + FileWriter: &FileLoggerConfig{}, + }, + other: &LoggerConfig{ + FileWriter: &FileLoggerConfig{}, + }, + }, } for _, tt := range tests {