From: Abseil Team Date: Wed, 30 Sep 2020 01:52:15 +0000 (-0400) Subject: Googletest export X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7;p=googletest.git Googletest export Update faq.md on underscore to mention `DISABLED_` prefix. PiperOrigin-RevId: 334507963 --- 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: