Skip to content

Commit c81e639

Browse files
committed
Use await using where available
1 parent 5b1873e commit c81e639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ImageSharp.Tests/IO/LocalFileSystemTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public async Task CreateAsynchronous()
9191
LocalFileSystem fs = new();
9292

9393
await using (Stream stream = fs.CreateAsynchronous(path))
94-
using (StreamWriter writer = new(stream))
94+
await using (StreamWriter writer = new(stream))
9595
{
9696
await writer.WriteAsync(testData);
9797
}

0 commit comments

Comments
 (0)