Skip to content

Commit a107689

Browse files
committed
Update README.md with review feedback.
1 parent 2e41263 commit a107689

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ class TestNSURL : XCTestCase {
4747
}
4848
```
4949

50-
Also, this version of XCTest does not use the external test runner binary. Instead, create your own executable which links `libXCTest.so`. In your `main.swift`, invoke the `XCTMain` function with a test cases that you wish to run. For example:
50+
Also, this version of XCTest does not use the external test runner binary. Instead, create your own executable which links `libXCTest.so`. In your `main.swift`, invoke the `XCTMain` function with an array of instances of the test cases that you wish to run. For example:
5151

5252
```
53-
XCTMain([TestNSString, TestNSArray, TestNSDictionary])
53+
XCTMain([TestNSString(), TestNSArray(), TestNSDictionary()])
5454
```
5555

5656
The `XCTMain` function does not return, and will cause your test app to exit with either `0` for success or `1` for failure.

0 commit comments

Comments
 (0)