Skip to content

Commit 0cbb74e

Browse files
committed
Fix typos
1 parent 9863a17 commit 0cbb74e

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`.
@@ -596,9 +595,8 @@ public macro require<R>(
596595
/// contain any arbitrary sequence of bytes, including sequences that are not
597596
/// valid UTF-8 and cannot be decoded by [`String.init(cString:)`](https://developer.apple.com/documentation/swift/string/init(cstring:)-6kr8s).
598597
/// These streams are globally accessible within the child process, and any
599-
/// code running in an exit test may write to it including including the
600-
/// operating system and any third-party dependencies you have declared in
601-
/// your package.
598+
/// code running in an exit test may write to it including the operating
599+
/// system and any third-party dependencies you have declared in your package.
602600
///
603601
/// The actual exit condition of the child process is always reported by the
604602
/// testing library even if you do not specify it in `observedValues`.

0 commit comments

Comments
 (0)