summaryrefslogtreecommitdiffstats
path: root/docs/primer.md
diff options
context:
space:
mode:
authorDino Radakovic <dinor@google.com>2022-12-20 14:11:31 (GMT)
committerCopybara-Service <copybara-worker@google.com>2022-12-20 14:12:13 (GMT)
commitb3bfebd796a5875360ee1c90237931e8e0bae9f5 (patch)
tree77e033b432fba09ff8ceaf9c446bad5ecc4f241d /docs/primer.md
parenta4e0be898bc81cdbf96731336cb41ff03a6b1cc5 (diff)
downloadgoogletest-b3bfebd796a5875360ee1c90237931e8e0bae9f5.zip
googletest-b3bfebd796a5875360ee1c90237931e8e0bae9f5.tar.gz
googletest-b3bfebd796a5875360ee1c90237931e8e0bae9f5.tar.bz2
Comment that q0_ in primer should remain empty
PiperOrigin-RevId: 496642643 Change-Id: I178efeda76cbf46e5f4bb91454c205b9a060a4ea
Diffstat (limited to 'docs/primer.md')
-rw-r--r--docs/primer.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/primer.md b/docs/primer.md
index aecc368..2ffbf53 100644
--- a/docs/primer.md
+++ b/docs/primer.md
@@ -274,6 +274,7 @@ First, define a fixture class. By convention, you should give it the name
class QueueTest : public ::testing::Test {
protected:
void SetUp() override {
+ // q0_ remains empty
q1_.Enqueue(1);
q2_.Enqueue(2);
q2_.Enqueue(3);