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
14 changes: 7 additions & 7 deletions Sources/Testing/ExitTests/ExitTest.Result.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ extension ExitTest {
///
/// When checking the value of this property, keep in mind that the standard
/// output stream is globally accessible, and any code running in an exit
/// test may write to it including including the operating system and any
/// third-party dependencies you have declared in your package. Rather than
/// comparing the value of this property with [`==`](https://developer.apple.com/documentation/swift/array/==(_:_:)),
/// test may write to it including the operating system and any third-party
/// dependencies you have declared in your package. Rather than comparing
/// the value of this property with [`==`](https://developer.apple.com/documentation/swift/array/==(_:_:)),
/// use [`contains(_:)`](https://developer.apple.com/documentation/swift/collection/contains(_:))
/// to check if expected output is present.
///
Expand Down Expand Up @@ -73,10 +73,10 @@ extension ExitTest {
/// instead.
///
/// When checking the value of this property, keep in mind that the standard
/// error stream is globally accessible, and any code running in an exit
/// test may write to it including including the operating system and any
/// third-party dependencies you have declared in your package. Rather than
/// comparing the value of this property with [`==`](https://developer.apple.com/documentation/swift/array/==(_:_:)),
/// output stream is globally accessible, and any code running in an exit
/// test may write to it including the operating system and any third-party
/// dependencies you have declared in your package. Rather than comparing
/// the value of this property with [`==`](https://developer.apple.com/documentation/swift/array/==(_:_:)),
/// use [`contains(_:)`](https://developer.apple.com/documentation/swift/collection/contains(_:))
/// to check if expected output is present.
///
Expand Down
2 changes: 1 addition & 1 deletion Sources/Testing/Testing.docc/exit-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ extension Customer {

The testing library always sets ``ExitTest/Result/exitStatus`` to the actual
exit status of the child process (as reported by the system) even if you do not
pass it.
observe `\.exitStatus`.
4 changes: 2 additions & 2 deletions Sources/_TestDiscovery/TestContentRecord.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ public struct TestContentRecord<T> where T: DiscoverableAsTestContent {
///
/// | Platform | Pointer Type |
/// |-|-|
/// | macOS, iOS, watchOS, tvOS, visionOS | `UnsafePointer<mach_header64>` |
/// | Linux, FreeBSD, Android | `UnsafePointer<ElfW_Ehdr>` |
/// | macOS, iOS, watchOS, tvOS, visionOS | `UnsafePointer<mach_header_64>` |
/// | Linux, FreeBSD, Android | `UnsafePointer<ElfW(Ehdr)>` |
/// | OpenBSD | `UnsafePointer<Elf_Ehdr>` |
/// | Windows | `HMODULE` |
///
Expand Down