@@ -131,7 +131,7 @@ public async Task SaveShouldHandleStreamWithPosition()
131131
132132 File . Exists ( filePath ) . ShouldBeTrue ( ) ;
133133
134- await stream . DisposeAsync ( ) . ConfigureAwait ( false ) ;
134+ await stream . DisposeAsync ( ) ;
135135 }
136136
137137 [ Fact ]
@@ -145,7 +145,7 @@ public async Task SaveShouldThrowForNonSeekableStream()
145145 mockStream . Position = 5 ; // Position > 0
146146
147147 await Should . ThrowAsync < InvalidOperationException > (
148- ( ) => strategy . SaveAsync ( filePath , mockStream ) ) . ConfigureAwait ( false ) ;
148+ ( ) => strategy . SaveAsync ( filePath , mockStream ) ) ;
149149 }
150150
151151 [ Fact ]
@@ -181,12 +181,12 @@ public async Task CompareShouldDetectIdenticalImages()
181181 data2 . SaveTo ( compareStream ) ;
182182 compareStream . Seek ( 0 , SeekOrigin . Begin ) ;
183183
184- var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) . ConfigureAwait ( false ) ;
184+ var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) ;
185185
186186 result . IsDifferent . ShouldBeFalse ( ) ;
187187 result . DiffsData . ShouldBeNull ( ) ;
188188
189- await compareStream . DisposeAsync ( ) . ConfigureAwait ( false ) ;
189+ await compareStream . DisposeAsync ( ) ;
190190 }
191191 }
192192
@@ -223,16 +223,16 @@ public async Task CompareShouldDetectDifferentImages()
223223 data2 . SaveTo ( compareStream ) ;
224224 compareStream . Seek ( 0 , SeekOrigin . Begin ) ;
225225
226- var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) . ConfigureAwait ( false ) ;
226+ var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) ;
227227
228228 result . IsDifferent . ShouldBeTrue ( ) ;
229229 result . DiffsData . ShouldNotBeNull ( ) ;
230230 result . DiffsString . ShouldContain ( "See Png Diffs file" ) ;
231231
232- await compareStream . DisposeAsync ( ) . ConfigureAwait ( false ) ;
232+ await compareStream . DisposeAsync ( ) ;
233233 if ( result . DiffsData is not null )
234234 {
235- await result . DiffsData . DisposeAsync ( ) . ConfigureAwait ( false ) ;
235+ await result . DiffsData . DisposeAsync ( ) ;
236236 }
237237 }
238238 }
@@ -270,15 +270,15 @@ public async Task CompareShouldDetectImageSizeDifferences()
270270 data2 . SaveTo ( compareStream ) ;
271271 compareStream . Seek ( 0 , SeekOrigin . Begin ) ;
272272
273- var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) . ConfigureAwait ( false ) ;
273+ var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) ;
274274
275275 result . IsDifferent . ShouldBeTrue ( ) ;
276276 result . DiffsData . ShouldNotBeNull ( ) ;
277277
278- await compareStream . DisposeAsync ( ) . ConfigureAwait ( false ) ;
278+ await compareStream . DisposeAsync ( ) ;
279279 if ( result . DiffsData is not null )
280280 {
281- await result . DiffsData . DisposeAsync ( ) . ConfigureAwait ( false ) ;
281+ await result . DiffsData . DisposeAsync ( ) ;
282282 }
283283 }
284284 }
@@ -318,14 +318,14 @@ public async Task CompareShouldRespectDifferencesThreshold()
318318 data2 . SaveTo ( compareStream ) ;
319319 compareStream . Seek ( 0 , SeekOrigin . Begin ) ;
320320
321- var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) . ConfigureAwait ( false ) ;
321+ var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) ;
322322
323323 result . DiffsString . ShouldContain ( "See Png Diffs file" ) ;
324324
325- await compareStream . DisposeAsync ( ) . ConfigureAwait ( false ) ;
325+ await compareStream . DisposeAsync ( ) ;
326326 if ( result . DiffsData is not null )
327327 {
328- await result . DiffsData . DisposeAsync ( ) . ConfigureAwait ( false ) ;
328+ await result . DiffsData . DisposeAsync ( ) ;
329329 }
330330 }
331331 }
@@ -363,16 +363,16 @@ public async Task CompareShouldReturnDiffImageStream()
363363 data2 . SaveTo ( compareStream ) ;
364364 compareStream . Seek ( 0 , SeekOrigin . Begin ) ;
365365
366- var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) . ConfigureAwait ( false ) ;
366+ var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) ;
367367
368368 result . DiffsData . ShouldNotBeNull ( ) ;
369369 result . DiffsData . Position . ShouldBe ( 0 ) ;
370370 result . DiffsData . Length . ShouldBeGreaterThan ( 0 ) ;
371371
372- await compareStream . DisposeAsync ( ) . ConfigureAwait ( false ) ;
372+ await compareStream . DisposeAsync ( ) ;
373373 if ( result . DiffsData is not null )
374374 {
375- await result . DiffsData . DisposeAsync ( ) . ConfigureAwait ( false ) ;
375+ await result . DiffsData . DisposeAsync ( ) ;
376376 }
377377 }
378378 }
@@ -409,11 +409,11 @@ public async Task CompareShouldHandleStreamAtPosition()
409409 var compareStream = new MemoryStream ( ) ;
410410 data2 . SaveTo ( compareStream ) ;
411411
412- var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) . ConfigureAwait ( false ) ;
412+ var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) ;
413413
414414 result . IsDifferent . ShouldBeFalse ( ) ;
415415
416- await compareStream . DisposeAsync ( ) . ConfigureAwait ( false ) ;
416+ await compareStream . DisposeAsync ( ) ;
417417 }
418418 }
419419
@@ -450,14 +450,14 @@ public async Task CompareShouldReturnDiffsStringWithThresholdInfo()
450450 data2 . SaveTo ( compareStream ) ;
451451 compareStream . Seek ( 0 , SeekOrigin . Begin ) ;
452452
453- var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) . ConfigureAwait ( false ) ;
453+ var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) ;
454454
455455 result . DiffsString . ShouldContain ( "threshold 0.3" ) ;
456456
457- await compareStream . DisposeAsync ( ) . ConfigureAwait ( false ) ;
457+ await compareStream . DisposeAsync ( ) ;
458458 if ( result . DiffsData is not null )
459459 {
460- await result . DiffsData . DisposeAsync ( ) . ConfigureAwait ( false ) ;
460+ await result . DiffsData . DisposeAsync ( ) ;
461461 }
462462 }
463463 }
@@ -495,11 +495,11 @@ public async Task CompareShouldHandleZeroThreshold()
495495 data2 . SaveTo ( compareStream ) ;
496496 compareStream . Seek ( 0 , SeekOrigin . Begin ) ;
497497
498- var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) . ConfigureAwait ( false ) ;
498+ var result = await strategy . CompareAsync ( referenceFilePath , compareStream ) ;
499499
500500 result . IsDifferent . ShouldBeFalse ( ) ;
501501
502- await compareStream . DisposeAsync ( ) . ConfigureAwait ( false ) ;
502+ await compareStream . DisposeAsync ( ) ;
503503 }
504504 }
505505
0 commit comments