Tests adapted from prob-specs message in tests

In a lot of exercises I see this line:

# Tests adapted from `problem-specifications//canonical-data.json`

This feels somewhat odd to me, as it looks like an URL but I can’t actually click on it. I would suggest to either:

  • Convert it to a valid URL
  • Change the wording

Why is that there? Surely (almost) all exercise tests are adapted from the canonical data.

It looks like some generator has a bug where the variable (that should contain “exercises/hello-world”) is empty.

See : [JinJa2] Corrected the macro used for comments on the test file. by BethanyG · Pull Request #3373 · exercism/python · GitHub

1 Like