@@ -244,7 +244,7 @@ func TestCommitMintingBatchSeedlings(t *testing.T) {
244244 mintingBatch := tapgarden .RandSeedlingMintingBatch (t , numSeedlings )
245245 addRandGroupToBatch (t , assetStore , ctx , mintingBatch .Seedlings )
246246 err := assetStore .CommitMintingBatch (ctx , mintingBatch )
247- require .NoError (t , err , "unable to write batch: %v" , err )
247+ require .NoError (t , err )
248248
249249 batchKey := mintingBatch .BatchKey .PubKey
250250
@@ -267,11 +267,9 @@ func TestCommitMintingBatchSeedlings(t *testing.T) {
267267 // Pick a random seedling and give it a specific group.
268268 addRandGroupToBatch (t , assetStore , ctx , seedlings )
269269 mintingBatch .Seedlings = mergeMap (mintingBatch .Seedlings , seedlings )
270- require .NoError (t ,
271- assetStore .AddSeedlingsToBatch (
272- ctx , batchKey , maps .Values (seedlings )... ,
273- ), "unable to write seedlings: %v" , err ,
274- )
270+ require .NoError (t , assetStore .AddSeedlingsToBatch (
271+ ctx , batchKey , maps .Values (seedlings )... ,
272+ ))
275273
276274 // If we read the batch from disk again, then we should have 10 total
277275 // seedlings, and the batch still matches what we wrote to disk.
@@ -1088,7 +1086,7 @@ func TestGroupAnchors(t *testing.T) {
10881086 )
10891087 addMultiAssetGroupToBatch (t , mintingBatch .Seedlings )
10901088 err := assetStore .CommitMintingBatch (ctx , mintingBatch )
1091- require .NoError (t , err , "unable to write batch: %v" , err )
1089+ require .NoError (t , err )
10921090
10931091 batchKey := mintingBatch .BatchKey .PubKey
10941092
0 commit comments