Correct example given in greentea-client readme

pull/9527/head
Brian Daniels 2019-01-28 16:03:20 -06:00
parent b694a34873
commit 1a9df4269b
1 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@ For example, the `{{timeout;120}}}` string is a key-value message where the key
## Test example
```c++
#include "mbed.h"
#include "greentea-client/test_env.h"
#include "utest/utest.h"
#include "unity/unity.h"
@ -83,7 +84,7 @@ status_t greentea_setup(const size_t number_of_cases) {
return greentea_test_setup_handler(number_of_cases);
}
void app_start(int, char*[]) {
void main(int, char*[]) {
Harness::run(specification);
}
```