Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/TestSupport/TestSupport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import XCTest
// *without* `-disable-availability-checking` to ensure the #available check is
// not compiled into a no-op.

#if os(Linux)
#if os(Linux) || os(Android)
public func XCTExpectFailure(
_ message: String? = nil, body: () throws -> Void
) rethrows {}
Expand Down
2 changes: 1 addition & 1 deletion Sources/VariadicsGenerator/VariadicsGenerator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import ArgumentParser
#if os(macOS)
import Darwin
#elseif os(Linux)
#elseif canImport(Glibc)
import Glibc
#elseif os(Windows)
import CRT
Expand Down
2 changes: 1 addition & 1 deletion Tests/RegexTests/UTS18Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fileprivate func expectFirstMatch<Output: Equatable>(
XCTAssertEqual(input.firstMatch(of: r)?.output, output, file: file, line: line)
}

#if os(Linux)
#if os(Linux) || os(Android)
func XCTExpectFailure(_ message: String? = nil, body: () throws -> Void) rethrows {}
#endif

Expand Down