added test file naming convention

Via https://github.com/nim-lang/Nim/pull/3025#issuecomment-117191789

"Don't name the import with 't'. Convention is to replace the 't' with an 'm' prefix."
This commit is contained in:
Simon Hafner
2015-06-30 10:49:31 -05:00
parent 62cea4e29c
commit e9afddcb0d

View File

@@ -32,8 +32,11 @@ Compiler
The tests for the compiler work differently, they are all located in
``tests/``. Each test has its own file, which is different from the
stdlib tests. At the beginning of every test is the expected side of
the test. Possible keys are:
stdlib tests. All test files are prefixed with ``t``. If you want to
create a file for import into another test only, use the prefix ``m``.
At the beginning of every test is the expected side of the test.
Possible keys are:
- output: The expected output, most likely via ``echo``
- exitcode: Exit code of the test (via ``exit(number)``)