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 {