mirror of
https://github.com/google/googletest.git
synced 2025-04-08 06:43:10 +00:00
Fixes a typo.
This commit is contained in:
parent
214e014fed
commit
fc1cc32ae3
1 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ c is 10
|
|||
|
||||
_Availability_: Linux, Windows, Mac
|
||||
|
||||
=== Using a Funciton That Returns an !AssertionResult ===
|
||||
=== Using a Function That Returns an !AssertionResult ===
|
||||
|
||||
While `EXPECT_PRED*()` and friends are handy for a quick job, the
|
||||
syntax is not satisfactory: you have to use different macros for
|
||||
|
@ -1599,7 +1599,7 @@ To use the event listener you have defined, add an instance of it to
|
|||
the Google Test event listener list (represented by class
|
||||
[http://code.google.com/p/googletest/source/browse/trunk/include/gtest/gtest.h#929 TestEventListeners]
|
||||
- note the "s" at the end of the name) in your
|
||||
`main()` funciton, before calling `RUN_ALL_TESTS()`:
|
||||
`main()` function, before calling `RUN_ALL_TESTS()`:
|
||||
{{{
|
||||
int main(int argc, char** argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
|
|
Loading…
Add table
Reference in a new issue