Skip to content

Commit 3aec023

Browse files
committed
test case fix
1 parent f78044a commit 3aec023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func TestNewMisc(t *testing.T) {
263263
}
264264

265265
_, err = New(`receiver = "file"; level="debug"; rotate { mode="size"; size=2500; }`)
266-
if !strings.HasPrefix(err.Error(), "maximum 2GB file size") {
266+
if !strings.HasPrefix(err.Error(), "max size > 2GB") {
267267
t.Errorf("Unexpected error: %v", err)
268268
}
269269

0 commit comments

Comments
 (0)