summary refs log tree commit diff stats
path: root/tests/global/tglobal.nim
diff options
context:
space:
mode:
authoree7 <45465154+ee7@users.noreply.github.com>2021-02-03 16:00:29 +0100
committerGitHub <noreply@github.com>2021-02-03 16:00:29 +0100
commit14c61ecf24110f3f6a1a4a9c88439e568065ddd9 (patch)
tree186f2905b029c69632f7f8043384befb29d42528 /tests/global/tglobal.nim
parent6f1289b80ccf599008368b121d874b4ce4717fc6 (diff)
downloadNim-14c61ecf24110f3f6a1a4a9c88439e568065ddd9.tar.gz
strictFuncs+views: add test that imports stdlib modules (#16878)
This commit attempts to improve testing of strictFuncs and views, and
prevent regressions like #16873 (resolved by 0b01eddace6a).

We previously only explicitly tested strictFuncs and views with a
smaller number of stdlib modules, mostly in:
- tests/effects/tstrict_funcs.nim
- tests/views/tcan_compile_nim.nim

Note that this commit leaves the `pegs` module commented out; it
cannot currently be compiled with `--experimental:views` (see #16892).

Note also that this commit is not sufficient to test strictFuncs and
views, but it does detect a subset of problems.
Diffstat (limited to 'tests/global/tglobal.nim')
0 files changed, 0 insertions, 0 deletions