Update status_test.go
Early exit test if preconditions are not met Co-authored-by: lhchavez <lhchavez@lhchavez.com>
This commit is contained in:
parent
a63936f29e
commit
e22f95bd3c
|
@ -81,7 +81,7 @@ func TestStatusNothing(t *testing.T) {
|
|||
checkFatal(t, err)
|
||||
|
||||
if entryCount != 0 {
|
||||
t.Error("expected no statuses in empty repo")
|
||||
t.Fatal("expected no statuses in empty repo")
|
||||
}
|
||||
|
||||
_, err = statusList.ByIndex(0)
|
||||
|
|
Loading…
Reference in New Issue