diff --git a/tests/ComputeSharp.D2D1.Tests/D2DPixelShaderSourceTests.cs b/tests/ComputeSharp.D2D1.Tests/D2DPixelShaderSourceTests.cs index 3c891a8d..8b910614 100644 --- a/tests/ComputeSharp.D2D1.Tests/D2DPixelShaderSourceTests.cs +++ b/tests/ComputeSharp.D2D1.Tests/D2DPixelShaderSourceTests.cs @@ -7,11 +7,11 @@ namespace ComputeSharp.D2D1.Tests; [TestCategory("D2DPixelShaderSource")] public partial class D2DPixelShaderSourceTests { - [D2DPixelShaderSource(@" + [D2DPixelShaderSource(""" #define D2D_INPUT_COUNT 1 #define D2D_INPUT0_SIMPLE - #include ""d2d1effecthelpers.hlsli"" + #include "d2d1effecthelpers.hlsli" D2D_PS_ENTRY(Execute) { @@ -19,7 +19,7 @@ public partial class D2DPixelShaderSourceTests float3 rgb = saturate(1.0 - color.rgb); return float4(rgb, 1); } - ")] + """)] [D2DShaderProfile(D2D1ShaderProfile.PixelShader50)] [D2DCompileOptions(D2D1CompileOptions.OptimizationLevel0)] private static partial ReadOnlySpan InvertEffect();