diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-10-05 20:23:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-05 20:23:08 (GMT) |
commit | 40f82ce56a4b416aa4631e48d1d07377793b18ee (patch) | |
tree | f33a48a60c4b6c3d0c7ea58588af56ddefce1051 /googletest/docs | |
parent | 07c4753a17fc372bb2027e28a51265a840002c91 (diff) | |
download | googletest-40f82ce56a4b416aa4631e48d1d07377793b18ee.zip googletest-40f82ce56a4b416aa4631e48d1d07377793b18ee.tar.gz googletest-40f82ce56a4b416aa4631e48d1d07377793b18ee.tar.bz2 |
Update primer.md
fixes #1709
Diffstat (limited to 'googletest/docs')
-rw-r--r-- | googletest/docs/primer.md | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/googletest/docs/primer.md b/googletest/docs/primer.md index a7d4f90..902e827 100644 --- a/googletest/docs/primer.md +++ b/googletest/docs/primer.md @@ -477,11 +477,8 @@ If a fatal failure happens the subsequent steps will be skipped. ## Writing the main() Function -In `google3`, the simplest approach is to use the default main() function -provided by linking in `"//testing/base/public:gtest_main"`. If that doesn't -cover what you need, you should write your own main() function, which should -return the value of `RUN_ALL_TESTS()`. Link to `"//testing/base/public:gunit"`. -You can start from this boilerplate: +Write your own main() function, which should +return the value of `RUN_ALL_TESTS()` ```c++ #include "this/package/foo.h" |