Skip to content

Commit 9edaba8

Browse files
committed
Work around a crash on Windows.
Details TBD, but this test is crashing the test harness on my local install of Windows 11 for ARM64. I don't have any useful diagnostic info.
1 parent 8502f73 commit 9edaba8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/TestingTests/SwiftPMTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ struct SwiftPMTests {
272272
@Test("Unsupported ABI version")
273273
func unsupportedABIVersion() async throws {
274274
let versionNumber = ABI.VersionNumber(-100, 0)
275-
#expect(ABI.version(forVersionNumber: versionNumber) == nil)
275+
let versionTypeInfo = ABI.version(forVersionNumber: versionNumber).map(TypeInfo.init(describing:))
276+
#expect(versionTypeInfo == nil)
276277
}
277278

278279
@Test("--event-stream-output-path argument (writes to a stream and can be read back)",

0 commit comments

Comments
 (0)