Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
aa31660d
Unverified
Commit
aa31660d
authored
Feb 26, 2018
by
Gennadiy Civil
Committed by
GitHub
Feb 26, 2018
Browse files
Merge branch 'master' into master
parents
11e1dd25
1d324d84
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
86 additions
and
95 deletions
+86
-95
googletest/docs/Primer.md
googletest/docs/Primer.md
+1
-1
googletest/test/gtest_unittest.cc
googletest/test/gtest_unittest.cc
+85
-94
No files found.
googletest/docs/Primer.md
View file @
aa31660d
...
...
@@ -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
_c
ase
_n
ame, test
_n
ame) {
TEST(test
C
ase
N
ame, test
N
ame) {
... test body ...
}
```
...
...
googletest/test/gtest_unittest.cc
View file @
aa31660d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment