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 {
232232 exitCode: ExitCode = . success,
233233 file: StaticString = #file, line: UInt = #line) throws
234234 {
235+ #if os(Windows)
236+ throw XCTSkip ( " Unsupported on this platform " )
237+ #endif
238+
235239 let arguments = Array ( command. dropFirst ( ) )
236240 let commandName = String ( command. first!)
237241 let commandURL = debugURL. appendingPathComponent ( commandName)
@@ -286,6 +290,9 @@ extension XCTest {
286290 expected: String ,
287291 file: StaticString = #file, line: UInt = #line
288292 ) throws {
293+ #if os(Windows)
294+ throw XCTSkip ( " Unsupported on this platform " )
295+ #endif
289296
290297 let splitCommand = command. split ( separator: " " )
291298 let arguments = splitCommand. dropFirst ( ) . map ( String . init)
@@ -337,6 +344,10 @@ extension XCTest {
337344 file: StaticString = #file,
338345 line: UInt = #line
339346 ) throws {
347+ #if os(Windows)
348+ throw XCTSkip ( " Unsupported on this platform " )
349+ #endif
350+
340351 let commandURL = debugURL. appendingPathComponent ( command)
341352 var command = [
342353 " generate-manual " , commandURL. path,
You can’t perform that action at this time.
0 commit comments