Skip to content

Commit

Permalink
Fix test on non Windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed May 12, 2024
1 parent a671719 commit 28a294d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/CppAst.Tests/TestExpressions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -11,6 +12,11 @@ public class TestExpressions : InlineTestBase
[Test]
public void TestInitListExpression()
{
if (!OperatingSystem.IsWindows())
{
return;
}

ParseAssert(@"
#define INITGUID
#include <guiddef.h>
Expand Down

0 comments on commit 28a294d

Please sign in to comment.