deals harness: use require.

This commit is contained in:
Raúl Kripalani 2021-06-10 12:23:27 +01:00
parent c27fdc263c
commit cf0150e057

View File

@ -81,9 +81,8 @@ func (dh *DealHarness) StartDeal(ctx context.Context, fcid cid.Cid, fastRet bool
MinBlocksDuration: uint64(build.MinDealDuration),
FastRetrieval: fastRet,
})
if err != nil {
dh.t.Fatalf("%+v", err)
}
require.NoError(dh.t, err)
return deal
}