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()); }