Closed kytrinyx closed 6 years ago
We keep the version number as a comment in the test suites. The comment is just there so that we know when we need to update out of date test suites. No assertions depend on the version number.
Yeah, that's perfect. Having a version is handy. Asserting on it is confusing!
Some tracks have added assertions to the exercise test suites that ensure that the solution has a hard-coded version in it. In the old version of the site, this was useful, as it let commenters see what version of the test suite the code had been written against, and they wouldn't accidentally tell people that their code was wrong, when really the world had just moved on since it was submitted.
If this track does not have any assertions that track versions in the exercise tests, please close this issue.
If this track does have this bookkeeping code, then please remove it from all the exercises.
See https://github.com/exercism/exercism/issues/4266 for the full explanation of this change.