You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An Example test with no // Output comment is not run, not tested.
In contrast, a test with
// Output:
by itself should be expected to print no output. Instead it is not run.
The text was updated successfully, but these errors were encountered:
If it's not valid (I disagree) then it should be rejected outright. It
should never just be silently ignored.
I was putting
// Output:
lines at the end of my example code as a reminder to go back and fill
in the output. Since I knew the code did generate output, I assumed
this would make the example test fail, and in the process of failing
tell me what the output was. But instead the tests passed, so I had to
go back and change them all to
// Output: XXX
Russ
The text was updated successfully, but these errors were encountered: