Skip to content

Commit 01413a5

Browse files
authored
Fix a typo in exit tests documentation. (#1414)
Add a missing word in the exit tests documentation. Resolves #1372. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent fbc3bbf commit 01413a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Testing/Testing.docc/exit-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ value using the `as` operator:
128128
Every value you capture in an exit test must conform to [`Sendable`](https://developer.apple.com/documentation/swift/sendable)
129129
and [`Codable`](https://developer.apple.com/documentation/swift/codable). Each
130130
value is encoded by the parent process using [`encode(to:)`](https://developer.apple.com/documentation/swift/encodable/encode(to:))
131-
and is decoded by the child process [`init(from:)`](https://developer.apple.com/documentation/swift/decodable/init(from:))
131+
and is decoded by the child process using [`init(from:)`](https://developer.apple.com/documentation/swift/decodable/init(from:))
132132
before being passed to the exit test body.
133133

134134
If a captured value's type does not conform to both `Sendable` and `Codable`, or

0 commit comments

Comments
 (0)