tstime: change an Errorf+return to Fatalf in subtest

Forgot to git add this during review. Fail.
pull/265/head
Brad Fitzpatrick 5 years ago
parent febdac0499
commit 71d6738333

@ -36,8 +36,7 @@ func TestParse3339(t *testing.T) {
got, err := Parse3339(s) got, err := Parse3339(s)
if (err == nil) != (goErr == nil) { if (err == nil) != (goErr == nil) {
t.Errorf("for %q, go err = %v; our err = %v", s, goErr, err) t.Fatalf("for %q, go err = %v; our err = %v", s, goErr, err)
return
} }
if err != nil { if err != nil {
return return

Loading…
Cancel
Save