Skip to content

Commit

Permalink
fixed sam_test
Browse files Browse the repository at this point in the history
  • Loading branch information
Keoni Gandall committed Sep 11, 2023
1 parent f8161f0 commit efe6402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/sam/sam_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestParse(t *testing.T) {
t.Errorf("HD should have 3 TAG:DATA pairs")
}
for {
_, err := parser.ParseNext()
_, err := parser.Next()
if err != nil {
if !errors.Is(err, io.EOF) {
t.Errorf("Got unknown error: %s", err)
Expand Down

0 comments on commit efe6402

Please sign in to comment.