Hello, I submitted a PR to port the ocaml test runner to version 3, discovering task_id(s) by matching test names against a trailing pattern such as test_name @ task 1
test_name @ task 1
Sorry If I missed contributing guidelines, feel free to point me to the correct procedure if necessary
@NyuB I’m not an OCaml person, but the RegExp |^\(.*\)\b @ task \([1-9]+\)$| will not match @ task 10. In your unit tests you have 123 for multiple digits, which does not cover 0 being allowed for other places than the first.
|^\(.*\)\b @ task \([1-9]+\)$|
@ task 10
123
0
@mk-mxp you’re completely right ! Sorry fot that, I’ll open a fix asap if nobody does it before
Here is the related fix PR: Fix: task ids with zeros would not be recognized by NyuB · Pull Request #63 · exercism/ocaml-test-runner · GitHub