summaryrefslogtreecommitdiffstats
path: root/googletest/docs
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2020-09-30 01:52:15 (GMT)
committerAndy Getz <durandal@google.com>2020-10-01 00:52:45 (GMT)
commit1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7 (patch)
tree55edc5de27683f94da0a480051c834c5f536701e /googletest/docs
parent477998eefac3d55831e7f3974671ba22b8739b93 (diff)
downloadgoogletest-1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7.zip
googletest-1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7.tar.gz
googletest-1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7.tar.bz2
Googletest export
Update faq.md on underscore to mention `DISABLED_` prefix. PiperOrigin-RevId: 334507963
Diffstat (limited to 'googletest/docs')
-rw-r--r--googletest/docs/faq.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/googletest/docs/faq.md b/googletest/docs/faq.md
index f290f02..3ece95b 100644
--- a/googletest/docs/faq.md
+++ b/googletest/docs/faq.md
@@ -6,6 +6,10 @@
## Why should test suite names and test names not contain underscore?
+Note: Googletest reserves underscore (`_`) for special purpose keywords, such as
+[the `DISABLED_` prefix](advanced.md#temporarily-disabling-tests), in addition
+to the following rationale.
+
Underscore (`_`) is special, as C++ reserves the following to be used by the
compiler and the standard library: