mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
tstime: change an Errorf+return to Fatalf in subtest
Forgot to git add this during review. Fail.
This commit is contained in:
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…
Reference in New Issue
Block a user