Skip to content

Commit

Permalink
Improve err checking
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemassa committed Nov 5, 2024
1 parent a520f0b commit 2e87ffa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ func getDocumentedFlags(t *testing.T) []string {
ret = append(ret, flag)
}

if err := scanner.Err(); err != nil {
Ok(t, err)
}
err = scanner.Err()
Ok(t, err)

return ret
}

Expand Down

0 comments on commit 2e87ffa

Please sign in to comment.