Skip to content

Commit

Permalink
add empty test
Browse files Browse the repository at this point in the history
  • Loading branch information
korotkov-aerospike committed Jan 1, 2025
1 parent 1ebc137 commit 3d4a968
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/dto/compare_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3d4a968

Please sign in to comment.