I don’t see any difference between return 0;
or return 1;
Well nothing is checking what your program returned.
In Windows you can use
echo %errorlevel%
It’ll show what the program returned. When using a testing framework it’ll use that value to determine whether or not the test failed.
1 Like
hmm… I see… okay, so this tracks how the application ran.
…cool, thanks
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.