Nim/tests/views
quantimnot 6289b002b6
[Testament] Extend and document message testing aids (#19996)
* [Testament] Extend and document message testing aids

* Enable inline msgs when not reject action.
Eliminates the pain of changing the line and column numbers in `nimout`
or `output` while making changes to the test.
* Enable using inline msgs and nimout together.
Allows ease of inline msgs for the test as well as testing msgs from
other modules.
* Add path separator and test filename variable interpolation in
msgs.
Eases handling path separators in the msgs.
* Add some documentation.

* Fixed lots of broken tests

* Fixed more broken tests

* Support multiple inline messages per a line

* Fix a broken test

* Revert variable substitution in `output`

* Remove uneeded params

* Update doc/testament.md

Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>

* Update testament/specs.nim

Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>

* Update testament/specs.nim

Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>

* Fix indentation

Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
2022-09-01 17:52:13 +02:00
..
tcan_compile_nim.nim ensure the Nim compiler works with --experimental:strictFuncs --experimental:views [backport:1.4] (#15737) 2020-10-26 21:08:57 +01:00
tcannot_borrow.nim close #17636 (#17643) 2021-04-06 16:20:01 +02:00
tconst_views.nim const view types; fixes some cases from https://github.com/nim-lang/Nim/issues/15428 (#15488) 2020-10-05 18:31:46 +02:00
tdont_mutate.nim [Testament] Extend and document message testing aids (#19996) 2022-09-01 17:52:13 +02:00
tmust_borrow_from_first_parameter.nim spec for view types (#15424) 2020-09-29 23:42:38 +02:00
tsplit_into_openarray.nim better support for slices as views (#15414) 2020-09-27 09:20:10 +02:00
tsplit_into_seq.nim fixes view types for sizeof() and --gc:orc (#15680) 2020-10-22 18:52:05 +02:00
tsplit_into_table.nim better support for view types (#15436) 2020-09-30 20:44:18 +02:00
tviews1.nim closes #15897; add testcase (#19961) 2022-07-02 16:51:21 +08:00