From 7854d5af4b04b2fb26a704db53f0c023576de9b4 Mon Sep 17 00:00:00 2001 From: p-x9 <50244599+p-x9@users.noreply.github.com> Date: Sun, 4 Feb 2024 05:29:26 +0900 Subject: [PATCH] skip macro expansion test cases on unsupported platform --- Tests/AliasTests/AliasTests.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/AliasTests/AliasTests.swift b/Tests/AliasTests/AliasTests.swift index d0eea0b..2a3ed8e 100644 --- a/Tests/AliasTests/AliasTests.swift +++ b/Tests/AliasTests/AliasTests.swift @@ -1,6 +1,8 @@ import XCTest import SwiftSyntaxMacros import SwiftSyntaxMacrosTestSupport + +#if canImport(AliasPlugin) @testable import AliasPlugin @testable import AliasSupport @@ -438,3 +440,4 @@ final class AliasTests: XCTestCase { ) } } +#endif