1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00

Update README

This commit is contained in:
Yuxuan Shui 2019-03-13 21:21:27 +00:00
parent 09083afa1e
commit 63a0c61f63

View file

@ -34,10 +34,10 @@ TEST_CASE(test_case_name) {
In your main function, call `run_tests`:
```c
int main() {
int main(int argc, char *const *argv) {
// necessary setup code
// ...
if (!run_tests()) {
if (!run_tests(argc, argv)) {
// test failed
abort();
}
@ -46,3 +46,5 @@ int main() {
}
```
Then, run your program with `./program --unittest`.