Skip to content

Commit d209f2e

Browse files
committed
TestLoadEmptyLogs
1 parent 89c38d8 commit d209f2e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

blaster/blaster_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ import (
2323
"github.com/pkg/errors"
2424
)
2525

26+
func TestLoadEmptyLogs(t *testing.T) {
27+
ctx, cancel := context.WithCancel(context.Background())
28+
b := New(ctx, cancel)
29+
must(t, b.LoadLogs(&bytes.Buffer{}))
30+
}
31+
2632
func TestWriteHeaders(t *testing.T) {
2733
ctx, cancel := context.WithCancel(context.Background())
2834
b := New(ctx, cancel)

0 commit comments

Comments
 (0)