Skip to content

Commit 8fd5bde

Browse files
committed
Minor language tweaks
1 parent 7643324 commit 8fd5bde

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ or the ``require(exitsWith:observing:_:sourceLocation:performing:)`` macro:
5454
}
5555
```
5656

57-
The closure or function reference you pass to the macro is the body of the exit
58-
test. When an exit test is performed at runtime, the testing library starts a
59-
new process with the same executable as the current process. The current task is
60-
then suspended (as with `await`) and waits for the child process to exit.
57+
The closure or function reference you pass to the macro is the _body_ of the
58+
exit test. When an exit test is performed at runtime, the testing library starts
59+
a new process with the same executable as the current process. The current task
60+
is then suspended (as with `await`) and waits for the child process to exit.
6161

62-
The parent process never calls the body of the exit test. Instead, the child
62+
The parent process doesn't call the body of the exit test. Instead, the child
6363
process treats the body of the exit test as its `main()` function and calls it
6464
directly.
6565

0 commit comments

Comments
 (0)