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:
parent
32e62da22a
commit
06568301ec
@ -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 ...
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user