diff --git a/tests/ImageSharp.Tests/Processing/Processors/Quantization/QuantizerTests.cs b/tests/ImageSharp.Tests/Processing/Processors/Quantization/QuantizerTests.cs index 339dda3b9..0d50ddf2f 100644 --- a/tests/ImageSharp.Tests/Processing/Processors/Quantization/QuantizerTests.cs +++ b/tests/ImageSharp.Tests/Processing/Processors/Quantization/QuantizerTests.cs @@ -1,6 +1,8 @@ // Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. +using System; + using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing; using SixLabors.ImageSharp.Processing.Processors.Quantization; @@ -209,7 +211,7 @@ namespace SixLabors.ImageSharp.Tests.Processing.Processors.Quantization string ditherName = quantizer.Options.Dither.GetType().Name; string ditherType = quantizer.Options.Dither.DitherType.ToString(); float ditherScale = quantizer.Options.DitherScale; - string testOutputDetails = $"{quantizerName}_{ditherName}_{ditherType}_{ditherScale}"; + string testOutputDetails = FormattableString.Invariant($"{quantizerName}_{ditherName}_{ditherType}_{ditherScale}"); provider.RunValidatingProcessorTest( x => x.Quantize(quantizer),