Skip to content

Commit 8442245

Browse files
committed
unit test fix
1 parent 2da1afd commit 8442245

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

BinarySerializer.Test/Value/PngTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ public void DeserializePng()
1111
{
1212
byte[] data;
1313

14-
using (var stream = new FileStream("Value\\image.png", FileMode.Open, FileAccess.Read))
14+
var path = Path.Combine("Value", "image.png");
15+
using (var stream = new FileStream(path, FileMode.Open, FileAccess.Read))
1516
{
1617
data = new byte[stream.Length];
1718
var read = stream.Read(data, 0, data.Length);

0 commit comments

Comments
 (0)