Skip to content

Commit

Permalink
print both files
Browse files Browse the repository at this point in the history
  • Loading branch information
thorfour committed Oct 3, 2024
1 parent 4afa3cb commit 1b0960a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion reporter/offline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ func Test_Offline_ReadFile(t *testing.T) {
f, err := os.Open("/tmp/offline-data/019251da-d851-7cee-a4dd-385102cb1d9a.ipc")
require.NoError(t, err)

reader, err := ipc.NewReader(f)
printFile(t, f)
printFile(t, f)
}

func printFile(t *testing.T, f ipc.ReadAtSeeker) {
t.Helper()
reader, err := ipc.NewFileReader(f)
require.NoError(t, err)

for {
Expand Down

0 comments on commit 1b0960a

Please sign in to comment.