diff --git a/Tests/SwiftFormatPerformanceTests/WhitespaceLinterPerformanceTests.swift b/Tests/SwiftFormatPerformanceTests/WhitespaceLinterPerformanceTests.swift index b50b23aca..c969d016a 100644 --- a/Tests/SwiftFormatPerformanceTests/WhitespaceLinterPerformanceTests.swift +++ b/Tests/SwiftFormatPerformanceTests/WhitespaceLinterPerformanceTests.swift @@ -5,7 +5,11 @@ import XCTest @_spi(Testing) import _SwiftFormatTestSupport final class WhitespaceLinterPerformanceTests: DiagnosingTestCase { - func testWhitespaceLinterPerformance() { + func testWhitespaceLinterPerformance() throws { + #if os(Windows) + // https://github.com/swiftlang/swift-format/issues/939 + throw XCTSkip("This test is flaky on Windows") + #endif let input = String( repeating: """ import SomeModule