diff --git a/src/Vulkan/Silk.NET.Vulkan.Tests/TestChains.cs b/src/Vulkan/Silk.NET.Vulkan.Tests/TestChains.cs index 0077628e74..f36a09e58a 100644 --- a/src/Vulkan/Silk.NET.Vulkan.Tests/TestChains.cs +++ b/src/Vulkan/Silk.NET.Vulkan.Tests/TestChains.cs @@ -314,8 +314,9 @@ public void TestChainLoadWithError() Assert.Equal(2, errorsArray.Length); Assert.Equal ( - "The unmanaged chain has a structure type PhysicalDeviceFeatures2 at position 2; expected PhysicalDeviceAccelerationStructureFeaturesKhr", - errorsArray[0] + "The unmanaged chain has a structure type PhysicalDeviceFeatures2 at position 2; expected PhysicalDeviceAccelerationStructureFeatures", + // PATCH: Due to the way ToString() interacts with enum aliases, the structure types may end in Khr, so removing. + errorsArray[0].Replace("Khr", "") ); Assert.Equal (