exercism / nim-test-runner

GNU Affero General Public License v3.0
2 stars 3 forks source link

Fix(runner): Fix importing of `unittest_json` #8

Closed ee7 closed 4 years ago

ee7 commented 4 years ago

We made a processed exercise test file able to import unittest_json simply by copying unittest_json.nim to the temporary directory. However, we did this copying only when running the existing tests, and not when executing the runner binary.

Therefore this commit moves the copying of unittest_json.nim into runner.nim.

I have an upcoming PR that adds tests for the runner binary.