Skip to content

Commit f4cd217

Browse files
committed
SwiftDriverTests: adjust the windows expectations
Windows is now generating and packaging a SDKSettings.json which reduces the warnings here to match that of the other platforms. This adjusts the expectations accordingly.
1 parent 73cb4ea commit f4cd217

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Tests/SwiftDriverTests/SwiftDriverTests.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7184,12 +7184,7 @@ final class SwiftDriverTests: XCTestCase {
71847184
let diags = DiagnosticsEngine()
71857185
var driver = try Driver(args: ["swiftc", "-target", "arm64-apple-macosx10.13", "test.swift", "-index-file", "-index-file-path", "test.swift", "-enable-experimental-feature", "Embedded", "-parse-as-library", "-o", "a.out", "-module-name", "main"], env: env, diagnosticsEngine: diags)
71867186
_ = try driver.planBuild()
7187-
#if os(Windows)
7188-
// warning: Could not read SDKSettings.json for SDK at: ${SDKROOT}
7189-
XCTAssertEqual(diags.diagnostics.count, 1)
7190-
#else
71917187
XCTAssertEqual(diags.diagnostics.count, 0)
7192-
#endif
71937188
}
71947189
do {
71957190
let diags = DiagnosticsEngine()

0 commit comments

Comments
 (0)