Skip to content

Commit 996f767

Browse files
committed
Change test, only expect it for ARM64
1 parent 33fe244 commit 996f767

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ImageSharp.Tests/Formats/Jpg/JpegColorConverterTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static void RunTest(string arg)
156156
{
157157
expectedType = typeof(JpegColorConverterBase.CmykVector);
158158
}
159-
else if (AdvSimd.IsSupported)
159+
else if (AdvSimd.Arm64.IsSupported)
160160
{
161161
expectedType = typeof(JpegColorConverterBase.CmykArm64);
162162
}
@@ -222,7 +222,7 @@ static void RunTest(string arg)
222222
{
223223
expectedType = typeof(JpegColorConverterBase.YccKVector);
224224
}
225-
else if (AdvSimd.IsSupported)
225+
else if (AdvSimd.Arm64.IsSupported)
226226
{
227227
expectedType = typeof(JpegColorConverterBase.YccKArm64);
228228
}

0 commit comments

Comments
 (0)