Skip to content

Commit aee4cc7

Browse files
committed
Skip swiftinterfaceCommonPattern test for old compiler
1 parent b93b3b1 commit aee4cc7

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Tests/JExtractSwiftTests/IfConfigTests.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ import JExtractSwiftLib
1717
import SwiftJavaConfigurationShared
1818
import Testing
1919

20+
#if compiler(>=6.3)
21+
private let `compiler(>=6.3)` = true
22+
#else
23+
private let `compiler(>=6.3)` = false
24+
#endif
25+
2026
@Suite
2127
struct IfConfigTests {
2228
@Test
@@ -124,7 +130,7 @@ struct IfConfigTests {
124130
}
125131
}
126132

127-
@Test
133+
@Test(.enabled(if: `compiler(>=6.3)`))
128134
func swiftinterfaceCommonPattern() throws {
129135
try assertOutput(
130136
input: """

0 commit comments

Comments
 (0)