Skip to content

Commit

Permalink
Patched test to fix build issue on linux-arm64.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Jan 18, 2025
1 parent d04f2d4 commit 548a180
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.

using System;
using ImageMagick;
using Xunit;

Expand Down Expand Up @@ -29,7 +30,7 @@ public void ShouldReturnEmptyStringWhenValueIsNull()
[Fact]
public void ShouldReturnEmptyStringWhenValueIsEmpty()
{
var value = new IptcValue(IptcTag.Caption, []);
var value = new IptcValue(IptcTag.Caption, Array.Empty<byte>());

Assert.Empty(value.ToString());
}
Expand Down

0 comments on commit 548a180

Please sign in to comment.