Skip to content

Commit ac3b055

Browse files
committed
Fix typos
1 parent 5eddb68 commit ac3b055

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

Sources/Testing/ExitTests/SpawnProcess.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func spawnExecutable(
189189
}
190190
func inherit(_ fileHandle: borrowing FileHandle?, as outWindowsHANDLE: inout HANDLE?) throws {
191191
if fileHandle != nil {
192-
try inherit(fileHandle!, as: outWindowsHANDLE)
192+
try inherit(fileHandle!, as: &outWindowsHANDLE)
193193
} else {
194194
outWindowsHANDLE = nil
195195
}

Sources/Testing/Expectations/Expectation+Macro.swift

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -482,9 +482,8 @@ public macro require<R>(
482482
/// contain any arbitrary sequence of bytes, including sequences that are not
483483
/// valid UTF-8 and cannot be decoded by [`String.init(cString:)`](https://developer.apple.com/documentation/swift/string/init(cstring:)-6kr8s).
484484
/// These streams are globally accessible within the child process, and any
485-
/// code running in an exit test may write to it including including the
486-
/// operating system and any third-party dependencies you have declared in
487-
/// your package.
485+
/// code running in an exit test may write to it including the operating
486+
/// system and any third-party dependencies you have declared in your package.
488487
///
489488
/// The actual exit condition of the child process is always reported by the
490489
/// testing library even if you do not specify it in `observedValues`.
@@ -595,9 +594,8 @@ public macro require<R>(
595594
/// contain any arbitrary sequence of bytes, including sequences that are not
596595
/// valid UTF-8 and cannot be decoded by [`String.init(cString:)`](https://developer.apple.com/documentation/swift/string/init(cstring:)-6kr8s).
597596
/// These streams are globally accessible within the child process, and any
598-
/// code running in an exit test may write to it including including the
599-
/// operating system and any third-party dependencies you have declared in
600-
/// your package.
597+
/// code running in an exit test may write to it including the operating
598+
/// system and any third-party dependencies you have declared in your package.
601599
///
602600
/// The actual exit condition of the child process is always reported by the
603601
/// testing library even if you do not specify it in `observedValues`.

0 commit comments

Comments
 (0)