TEST() arguments are invalid in an example

Both names must be valid C++ identifiers, and they should not contain underscore (`_`)
This commit is contained in:
Aleksey Kozin 2018-02-23 01:34:26 +03:00 committed by GitHub
parent 32e62da22a
commit 06568301ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,7 +239,7 @@ To create a test:
1. The test's result is determined by the assertions; if any assertion in the test fails (either fatally or non-fatally), or if the test crashes, the entire test fails. Otherwise, it succeeds.
```
TEST(test_case_name, test_name) {
TEST(testCaseName, testName) {
... test body ...
}
```