NO ConfigureAwait(false) + cleanup

This commit is contained in:
Stef Heyenrath
2025-08-31 12:39:51 +02:00
parent 0960d7cebd
commit 5b43a4f341
56 changed files with 351 additions and 616 deletions

View File

@@ -22,7 +22,7 @@ public class ByteArrayContentHelperTests
// Assert
result.Headers.ContentType.Should().BeNull();
(await result.ReadAsByteArrayAsync().ConfigureAwait(false)).Should().BeEquivalentTo(content);
(await result.ReadAsByteArrayAsync()).Should().BeEquivalentTo(content);
}
[Theory]
@@ -40,6 +40,6 @@ public class ByteArrayContentHelperTests
// Assert
result.Headers.ContentType.ToString().Should().Be(expected);
(await result.ReadAsByteArrayAsync().ConfigureAwait(false)).Should().BeEquivalentTo(content);
(await result.ReadAsByteArrayAsync()).Should().BeEquivalentTo(content);
}
}