aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Kozin <cirnotoss@gmail.com>2018-02-23 01:34:26 +0300
committerGitHub <noreply@github.com>2018-02-23 01:34:26 +0300
commit06568301ec4adcdce318e4cf717e075c48fc05a5 (patch)
treef4f676c72c1a7fb4aa8741af6fee69e1ff48e423
parent32e62da22a1b06ebe83e0fa0e4f0c0537b1d752a (diff)
downloadgoogletest-06568301ec4adcdce318e4cf717e075c48fc05a5.tar.gz
googletest-06568301ec4adcdce318e4cf717e075c48fc05a5.tar.bz2
googletest-06568301ec4adcdce318e4cf717e075c48fc05a5.zip
TEST() arguments are invalid in an example
Both names must be valid C++ identifiers, and they should not contain underscore (`_`)
-rw-r--r--googletest/docs/Primer.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/docs/Primer.md b/googletest/docs/Primer.md
index 384d4d6e..5e8ee0c6 100644
--- a/googletest/docs/Primer.md
+++ b/googletest/docs/Primer.md
@@ -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 ...
}
```