Skip to content

Commit abef4de

Browse files
committed
Update TempFileTests.cs
1 parent c0e12e6 commit abef4de

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Verify.Tests/TempFileTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -724,11 +724,10 @@ public async Task CreateBinary()
724724
[Fact]
725725
public async Task CreateBinaryWithExtension()
726726
{
727-
byte[] byteArray = [];
728-
729727
#region TempFileCreateBinaryWithExtension
730728

731-
using var temp = await TempFile.CreateBinary(byteArray, ".png");
729+
byte[] data = [0x01, 0x02, 0x03, 0x04];
730+
using var temp = await TempFile.CreateBinary(data, ".bin");
732731

733732
// Process the temporary image file
734733

0 commit comments

Comments
 (0)