Description
Most exercises on the Haskell track have unit tests that are based on canonical tests shared between all Exercism tracks in exercism/problem-specifications. When alterations are made to these tests, the unit tests that mirror them on the Haskell track come out of sync.
The task at hand is to pick an exercise where versions have come out of sync and make the necessary changes to the Haskell test suite for that exercise. A list of exercises for which this is relevant can be generated by the following site: https://tracks.exercism.io/haskell/master (updates automatically) or using e.g. up-to-date/hs.rb
.
Protocol: To avoid race conditions, you can declare that you intend to bump a specific exercise here before submitting a PR. One PR per version bump per exercise. Most exercises are only one version bump behind.
An extract from #849 made Oct 1, 2019, updated Oct 17:
- palindrome-products: 1.1.0.4 < 1.2.0
- forth: 1.7.0.11 < 1.7.1
- pangram: 1.4.1.11 < 2.0.0
- phone-number: 1.6.1.8 < 1.7.0
- clock: 2.3.0.8 < 2.4.0
- space-age: 1.1.0.5 < 1.2.0
- robot-simulator: 3.1.0.7 < 3.2.0
- luhn: 1.3.0.6 < 1.6.1
- anagram: 1.4.0.8 < 1.5.0
- queen-attack: 2.2.0.7 < 2.3.0
- acronym: 1.6.0.10 < 1.7.0
- allergies: 1.2.0.7 < 2.0.0
- matrix: 1.1.0.7 < 1.3.0
- simple-cipher: 1.2.0.5 < 2.0.0
- word-count: 1.3.0.7 < 1.4.0
- armstrong-numbers: 1.0.0.2 < 1.1.0
- leap: 1.5.1.9 < 1.6.0
- etl: 1.0.0.5 < 2.0.1
-
beer-song -
food-chain -
house -
triangle
For example PRs of such version bumps, see all PRs labelled sync/tests
.
A quick checklist:
- Find the latest canonical tests for a given exercise.
- Make sure that the version in package.yaml is bumped according to this track's versioning policy: Same as the canonical test version + a 4th incremental serial component.
- Make sure to reference, in the commit message, the PR(s) in exercism/problem-specifications that address the canonical version bump(s):
exercism/problem-specifications#XYZ
. See e.g. Upgrade word-count to v1.3.0 #817 for an example of this.
Happy Hacktoberfest!