diff options
author | Aleksey Kozin <cirnotoss@gmail.com> | 2018-02-22 22:34:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 22:34:26 (GMT) |
commit | 06568301ec4adcdce318e4cf717e075c48fc05a5 (patch) | |
tree | f4f676c72c1a7fb4aa8741af6fee69e1ff48e423 /googletest/docs | |
parent | 32e62da22a1b06ebe83e0fa0e4f0c0537b1d752a (diff) | |
download | googletest-06568301ec4adcdce318e4cf717e075c48fc05a5.zip googletest-06568301ec4adcdce318e4cf717e075c48fc05a5.tar.gz googletest-06568301ec4adcdce318e4cf717e075c48fc05a5.tar.bz2 |
TEST() arguments are invalid in an example
Both names must be valid C++ identifiers, and they should not contain underscore (`_`)
Diffstat (limited to 'googletest/docs')
-rw-r--r-- | googletest/docs/Primer.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/docs/Primer.md b/googletest/docs/Primer.md index 384d4d6..5e8ee0c 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 ... } ``` |