googletest icon indicating copy to clipboard operation
googletest copied to clipboard

[Bug]: Possible error in Documentation

Open c-anon opened this issue 1 year ago • 1 comments
trafficstars

Describe the issue

At the http://google.github.io/googletest/gmock_for_dummies.html#StickyExpectations at one place the for loop looks like this:

for (int i = n; i > 0; i--)

and later like this:

for (int i = 1; i <= n; i++)

Is this an error or do I not understand something. If this is a wrong place to post this, please forward me somewhere else. Cheers.

Steps to reproduce the problem

Go to: http://google.github.io/googletest/gmock_for_dummies.html#StickyExpectations and see if the for loops should look like this.

What version of GoogleTest are you using?

no version, just docs

What operating system and version are you using?

web browser

What compiler and version are you using?

web browser

What build system are you using?

web browser

Additional context

No response

c-anon avatar Oct 23 '24 12:10 c-anon