From 28a294ddd77770ffb7cd91e3b3e78bb9df49b4b4 Mon Sep 17 00:00:00 2001 From: Alexandre Mutel Date: Sun, 12 May 2024 15:54:58 +0200 Subject: [PATCH] Fix test on non Windows platform --- src/CppAst.Tests/TestExpressions.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/CppAst.Tests/TestExpressions.cs b/src/CppAst.Tests/TestExpressions.cs index 73f784a..07e2ab5 100644 --- a/src/CppAst.Tests/TestExpressions.cs +++ b/src/CppAst.Tests/TestExpressions.cs @@ -2,6 +2,7 @@ // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. +using System; using NUnit.Framework; namespace CppAst.Tests @@ -11,6 +12,11 @@ public class TestExpressions : InlineTestBase [Test] public void TestInitListExpression() { + if (!OperatingSystem.IsWindows()) + { + return; + } + ParseAssert(@" #define INITGUID #include