From 548a180999dd5fc92e2996752df80fd8a813ba08 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 18 Jan 2025 23:02:35 +0100 Subject: [PATCH] Patched test to fix build issue on linux-arm64. --- .../Profiles/Iptc/IptcValueTests/TheToStringMethod.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Magick.NET.Core.Tests/Profiles/Iptc/IptcValueTests/TheToStringMethod.cs b/tests/Magick.NET.Core.Tests/Profiles/Iptc/IptcValueTests/TheToStringMethod.cs index d9c0151ddc..3094ec88e9 100644 --- a/tests/Magick.NET.Core.Tests/Profiles/Iptc/IptcValueTests/TheToStringMethod.cs +++ b/tests/Magick.NET.Core.Tests/Profiles/Iptc/IptcValueTests/TheToStringMethod.cs @@ -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; @@ -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()); Assert.Empty(value.ToString()); }