From 1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 29 Sep 2020 21:52:15 -0400 Subject: [PATCH] Googletest export Update faq.md on underscore to mention `DISABLED_` prefix. PiperOrigin-RevId: 334507963 --- googletest/docs/faq.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/googletest/docs/faq.md b/googletest/docs/faq.md index f290f025..3ece95bc 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: