We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eda904 commit f305e01Copy full SHA for f305e01
1 file changed
README.md
@@ -11,7 +11,7 @@ Instead of writing
11
```swift
12
import XCTest
13
14
-func test_should_succeed() async
+func test_should_succeed() async {
15
do {
16
let isTrue = try await shouldSucceed()
17
XCTAssertTrue(isTrue)
@@ -26,11 +26,11 @@ conveniently write
26
27
import SwiftAsyncAssert
28
29
30
await AsyncAssertTrue(try await shouldSucceed())
31
}
32
33
-func test_should_throwError() async
+func test_should_throwError() async {
34
await AsyncAssertThrowsError(try await shouldFail())
35
36
```
0 commit comments