@@ -22,8 +22,6 @@ import class TSCBasic.Process
2222
2323final class FormattingTests : XCTestCase {
2424 func testFormatting( ) async throws {
25- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
26-
2725 let testClient = try await TestSourceKitLSPClient ( )
2826 let uri = DocumentURI ( for: . swift)
2927
@@ -57,8 +55,6 @@ final class FormattingTests: XCTestCase {
5755 }
5856
5957 func testFormattingNoEdits( ) async throws {
60- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
61-
6258 let testClient = try await TestSourceKitLSPClient ( )
6359 let uri = DocumentURI ( for: . swift)
6460
@@ -84,8 +80,6 @@ final class FormattingTests: XCTestCase {
8480 }
8581
8682 func testConfigFileOnDisk( ) async throws {
87- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
88-
8983 // We pick up an invalid swift-format configuration file and thus don't set the user-provided options.
9084 let project = try await MultiFileTestProject ( files: [
9185 " .swift-format " : """
@@ -120,8 +114,6 @@ final class FormattingTests: XCTestCase {
120114 }
121115
122116 func testConfigFileInParentDirectory( ) async throws {
123- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
124-
125117 // We pick up an invalid swift-format configuration file and thus don't set the user-provided options.
126118 let project = try await MultiFileTestProject ( files: [
127119 " .swift-format " : """
@@ -156,8 +148,6 @@ final class FormattingTests: XCTestCase {
156148 }
157149
158150 func testConfigFileInNestedDirectory( ) async throws {
159- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
160-
161151 // We pick up an invalid swift-format configuration file and thus don't set the user-provided options.
162152 let project = try await MultiFileTestProject ( files: [
163153 " .swift-format " : """
@@ -200,8 +190,6 @@ final class FormattingTests: XCTestCase {
200190 }
201191
202192 func testInvalidConfigurationFile( ) async throws {
203- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
204-
205193 // We pick up an invalid swift-format configuration file and thus don't set the user-provided options.
206194 // The swift-format default is 2 spaces.
207195 let project = try await MultiFileTestProject ( files: [
@@ -226,8 +214,6 @@ final class FormattingTests: XCTestCase {
226214 }
227215
228216 func testInsertAndRemove( ) async throws {
229- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
230-
231217 let testClient = try await TestSourceKitLSPClient ( )
232218 let uri = DocumentURI ( for: . swift)
233219
@@ -259,8 +245,6 @@ final class FormattingTests: XCTestCase {
259245 }
260246
261247 func testMultiLineStringInsertion( ) async throws {
262- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
263-
264248 let testClient = try await TestSourceKitLSPClient ( )
265249 let uri = DocumentURI ( for: . swift)
266250
0 commit comments