Skip to content

Commit 06d8aa0

Browse files
committed
Fix incorrect return type of _sectionBounds on Windows
1 parent 49ea634 commit 06d8aa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Testing/Discovery+Platform.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ private func _findSection(named sectionName: String, in hModule: HMODULE) -> Sec
230230
///
231231
/// - Returns: An array of structures describing the bounds of all known test
232232
/// content sections in the current process.
233-
private func _sectionBounds(_ kind: SectionBounds.Kind) -> [SectionBounds] {
233+
private func _sectionBounds(_ kind: SectionBounds.Kind) -> some Sequence<SectionBounds> {
234234
let sectionName = switch kind {
235235
case .testContent:
236236
".sw5test"

0 commit comments

Comments
 (0)