Skip to content

Commit 041c19e

Browse files
committed
fix typo
1 parent f08054c commit 041c19e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

proposals/testing/NNNN-exit-tests.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,12 @@ a memory-intensive operation, so the caller must explicitly opt in:
448448

449449
```swift
450450
@Test func `We only eat delicious tacos`() async throws {
451-
let result = try await #require(exitsWith: .failure, observing: [\.standardErrorContent])) { ... }
452-
#expect(result.standardOutputContent.contains("ERROR: This taco tastes terrible!".utf8)
451+
let result = try await #require(
452+
exitsWith: .failure,
453+
observing: [\.standardErrorContent])
454+
) { ... }
455+
let stdout = result.standardOutputContent
456+
#expect(stdout.contains("ERROR: This taco tastes terrible!".utf8))
453457
}
454458
```
455459

0 commit comments

Comments
 (0)