Nim/nimpretty/tests
Jacek Sieka 7d6cbf290a
Error -> Defect for defects (#13908)
* 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.
2020-04-28 19:56:01 +02:00
..
expected Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
exhaustive.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
simple.nim nimpretty: fixes #8078 2018-10-24 00:59:57 +02:00
simple2.nim nimpretty: test for idempotence; fixes #9483 2018-10-24 15:19:29 +02:00
simple3.nim nimpretty: fixes #9506 2018-10-26 01:53:10 +02:00
simple4.nim nimpretty: improved detection of commas and semicolons (#11661) 2019-07-06 00:21:21 +02:00
tevil_spaces.nim Fix spellings (#12277) [backport] 2019-09-27 07:02:54 +02:00
wrong_ind.nim nimpretty: fix #11937 (wrong indentation) 2019-08-19 13:35:10 +02:00