Skip to content

Commit

Permalink
tstime: change an Errorf+return to Fatalf in subtest
Browse files Browse the repository at this point in the history
Forgot to git add this during review. Fail.
  • Loading branch information
bradfitz committed Apr 6, 2020
1 parent febdac0 commit 71d6738
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tstime/tstime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ func TestParse3339(t *testing.T) {
got, err := Parse3339(s)

if (err == nil) != (goErr == nil) {
t.Errorf("for %q, go err = %v; our err = %v", s, goErr, err)
return
t.Fatalf("for %q, go err = %v; our err = %v", s, goErr, err)
}
if err != nil {
return
Expand Down

0 comments on commit 71d6738

Please sign in to comment.