egeldenhuys / black-fitch

[DEPRECATED] Black-box Unit Tests for Fitchfork practicals and assignments
GNU General Public License v3.0
8 stars 4 forks source link

Incorrect expectedOutput (prac3_task2_tests.cpp) #7

Closed Jtfnel closed 8 years ago

Jtfnel commented 8 years ago

The createMockLibraryPrintOutput(...) function on line 139 contains an error on line 143 where it is generating the expected output.

There is a missing colon that is required in the example provided by the University.

devosray commented 8 years ago

Good spot

While the specification does show a colon at the end of the library name, it is not strictly required by Fitch-fork. My implementation does not output the colon but I got no complaints from fitchfork

Jtfnel commented 8 years ago

I was a bit nervous about uploading it to fitchfork without the colon but it's good to know that it works without it, thanks!