diff options
author | Abseil Team <absl-team@google.com> | 2023-07-28 16:50:50 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-07-28 16:51:41 (GMT) |
commit | c875c4e2249ec124c24f72141b3780c22256fd44 (patch) | |
tree | efb5d77f7bec39628f9f77632ce5913de47a33fd /googletest/README.md | |
parent | 40412d85124f7c6f3d88454583c4633e5e10fc8c (diff) | |
download | googletest-c875c4e2249ec124c24f72141b3780c22256fd44.zip googletest-c875c4e2249ec124c24f72141b3780c22256fd44.tar.gz googletest-c875c4e2249ec124c24f72141b3780c22256fd44.tar.bz2 |
Adjust includes to use <> instead of "", consistent with quickstart pages.
Right now, gtest documentation uses different #include syntax. The quickstart
pages (e.g., http://google.github.io/googletest/quickstart-bazel.html#create-and-run-a-binary) are checked in with `#include <gtest/gtest.h>` However, other
documentation (such as the primer) uses `#include "gtest/gtest.h"` (e.g.,
https://google.github.io/googletest/primer.html#writing-the-main-function).
PiperOrigin-RevId: 551878641
Change-Id: Iab93cc1da3ef4870a07b624071b75d6e9d3568c1
Diffstat (limited to 'googletest/README.md')
-rw-r--r-- | googletest/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/README.md b/googletest/README.md index 6bbd7f8..815f3fc 100644 --- a/googletest/README.md +++ b/googletest/README.md @@ -145,7 +145,7 @@ We list the most frequently used macros below. For a complete list, see file ### Multi-threaded Tests GoogleTest is thread-safe where the pthread library is available. After -`#include "gtest/gtest.h"`, you can check the +`#include <gtest/gtest.h>`, you can check the `GTEST_IS_THREADSAFE` macro to see whether this is the case (yes if the macro is `#defined` to 1, no if it's undefined.). |