summary refs log tree commit diff stats
path: root/tests/compiler
Commit message (Collapse)AuthorAgeFilesLines
* testament: error instead of silently ignore invalid targets; remove ↵Timothee Cour2020-12-141-1/+0
| | | | | | | | | | | pointless alias target vs targets; document matrix; DRY (#16343) * testament: error instead of silently ignore invalid targets * s/target/targets/ * fix test; refs #16344 * address comments * Update testament/specs.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* move tests under the compiler directory to testament (#16096)flywind2020-11-255-0/+344
|
* trunner was not actually being tested in non-CTFFI mode; minor testament ↵Timothee Cour2020-05-192-2/+2
| | | | | | | | | | cleanups (#14377) * use check * trunner now works with cpp * cleanup: move compiler/unittest_light => stdtest/unittest_light * fix tests/readme.md * remove deadcode references to rodfiles * fix for windows
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-281-1/+1
| | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here.
* Fixes #12536 (#12568) [backport]Tomohiro2019-11-024-0/+26
|
* fixes #11194 (#11242)Arne Döring2019-05-141-0/+12
|
* improve formatting in assertEqualsTimothee Cour2019-01-141-11/+11
|
* add `alignTable`, `parseTableCells` to align/format a tab(etc) delimited ↵Timothee Cour2019-01-093-0/+171
table (#10182) * add compiler/unittest_light.nim for easy diffing: assertEquals and mismatch * fixup * add alignTable, parseTableCells