File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Sources/ArgumentParserTestHelpers Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,10 @@ extension XCTest {
232
232
exitCode: ExitCode = . success,
233
233
file: StaticString = #file, line: UInt = #line) throws
234
234
{
235
+ #if os(Windows)
236
+ throw XCTSkip ( " Unsupported on this platform " )
237
+ #endif
238
+
235
239
let arguments = Array ( command. dropFirst ( ) )
236
240
let commandName = String ( command. first!)
237
241
let commandURL = debugURL. appendingPathComponent ( commandName)
@@ -286,6 +290,9 @@ extension XCTest {
286
290
expected: String ,
287
291
file: StaticString = #file, line: UInt = #line
288
292
) throws {
293
+ #if os(Windows)
294
+ throw XCTSkip ( " Unsupported on this platform " )
295
+ #endif
289
296
290
297
let splitCommand = command. split ( separator: " " )
291
298
let arguments = splitCommand. dropFirst ( ) . map ( String . init)
@@ -337,6 +344,10 @@ extension XCTest {
337
344
file: StaticString = #file,
338
345
line: UInt = #line
339
346
) throws {
347
+ #if os(Windows)
348
+ throw XCTSkip ( " Unsupported on this platform " )
349
+ #endif
350
+
340
351
let commandURL = debugURL. appendingPathComponent ( command)
341
352
var command = [
342
353
" generate-manual " , commandURL. path,
You can’t perform that action at this time.
0 commit comments