Skip to content

Commit

Permalink
Googletest export
Browse files Browse the repository at this point in the history
Update faq.md on underscore to mention `DISABLED_` prefix.

PiperOrigin-RevId: 334507963
  • Loading branch information
Abseil Team authored and suertreus committed Oct 1, 2020
1 parent 477998e commit 1fb1bb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions googletest/docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 1fb1bb2

Please sign in to comment.