deals harness: use require.
This commit is contained in:
parent
c27fdc263c
commit
cf0150e057
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user