Skip to content

Commit 28a294d

Browse files
committed
Fix test on non Windows platform
1 parent a671719 commit 28a294d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/CppAst.Tests/TestExpressions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the BSD-Clause 2 license.
33
// See license.txt file in the project root for full license information.
44

5+
using System;
56
using NUnit.Framework;
67

78
namespace CppAst.Tests
@@ -11,6 +12,11 @@ public class TestExpressions : InlineTestBase
1112
[Test]
1213
public void TestInitListExpression()
1314
{
15+
if (!OperatingSystem.IsWindows())
16+
{
17+
return;
18+
}
19+
1420
ParseAssert(@"
1521
#define INITGUID
1622
#include <guiddef.h>

0 commit comments

Comments
 (0)