@@ -22,8 +22,6 @@ import class TSCBasic.Process
22
22
23
23
final class FormattingTests : XCTestCase {
24
24
func testFormatting( ) async throws {
25
- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
26
-
27
25
let testClient = try await TestSourceKitLSPClient ( )
28
26
let uri = DocumentURI ( for: . swift)
29
27
@@ -57,8 +55,6 @@ final class FormattingTests: XCTestCase {
57
55
}
58
56
59
57
func testFormattingNoEdits( ) async throws {
60
- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
61
-
62
58
let testClient = try await TestSourceKitLSPClient ( )
63
59
let uri = DocumentURI ( for: . swift)
64
60
@@ -84,8 +80,6 @@ final class FormattingTests: XCTestCase {
84
80
}
85
81
86
82
func testConfigFileOnDisk( ) async throws {
87
- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
88
-
89
83
// We pick up an invalid swift-format configuration file and thus don't set the user-provided options.
90
84
let project = try await MultiFileTestProject ( files: [
91
85
" .swift-format " : """
@@ -120,8 +114,6 @@ final class FormattingTests: XCTestCase {
120
114
}
121
115
122
116
func testConfigFileInParentDirectory( ) async throws {
123
- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
124
-
125
117
// We pick up an invalid swift-format configuration file and thus don't set the user-provided options.
126
118
let project = try await MultiFileTestProject ( files: [
127
119
" .swift-format " : """
@@ -156,8 +148,6 @@ final class FormattingTests: XCTestCase {
156
148
}
157
149
158
150
func testConfigFileInNestedDirectory( ) async throws {
159
- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
160
-
161
151
// We pick up an invalid swift-format configuration file and thus don't set the user-provided options.
162
152
let project = try await MultiFileTestProject ( files: [
163
153
" .swift-format " : """
@@ -200,8 +190,6 @@ final class FormattingTests: XCTestCase {
200
190
}
201
191
202
192
func testInvalidConfigurationFile( ) async throws {
203
- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
204
-
205
193
// We pick up an invalid swift-format configuration file and thus don't set the user-provided options.
206
194
// The swift-format default is 2 spaces.
207
195
let project = try await MultiFileTestProject ( files: [
@@ -226,8 +214,6 @@ final class FormattingTests: XCTestCase {
226
214
}
227
215
228
216
func testInsertAndRemove( ) async throws {
229
- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
230
-
231
217
let testClient = try await TestSourceKitLSPClient ( )
232
218
let uri = DocumentURI ( for: . swift)
233
219
@@ -259,8 +245,6 @@ final class FormattingTests: XCTestCase {
259
245
}
260
246
261
247
func testMultiLineStringInsertion( ) async throws {
262
- try await SkipUnless . swiftFormatSupportsDashToIndicateReadingFromStdin ( )
263
-
264
248
let testClient = try await TestSourceKitLSPClient ( )
265
249
let uri = DocumentURI ( for: . swift)
266
250
0 commit comments