From f252081fb5745ce6c5d410b28baa207d74a90349 Mon Sep 17 00:00:00 2001 From: Shruti Jha Date: Tue, 3 Feb 2026 21:53:00 +0530 Subject: [PATCH] Fix documentation inconsistency about underscores in test names --- docs/advanced.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/advanced.md b/docs/advanced.md index d703a7b1c..109cf2b96 100644 --- a/docs/advanced.md +++ b/docs/advanced.md @@ -1233,9 +1233,11 @@ returns the value of `testing::PrintToString(GetParam())`. It does not work for `std::string` or C strings. {: .callout .note} -NOTE: test names must be non-empty, unique, and may only contain ASCII -alphanumeric characters. In particular, they -[should not contain underscores](faq.md#why-should-test-suite-names-and-test-names-not-contain-underscore) +NOTE: test names must be non-empty, unique, +and may only contain ASCII +alphanumeric characters and underscores. + + ```c++ class MyTestSuite : public testing::TestWithParam {};