summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix #16206 (#16207)flywind2020-12-061-17/+72
| | | | * better docs and tests * a bit better only clean trailing whitespace
* ORC: make the adaptive strategy the default in order to fight memory ↵Andreas Rumpf2020-12-052-1/+39
| | | | | | | consumption (#16250) * ORC: make the adaptive strategy the default in order to fight memory consumption * added missing test case
* RST tables: fix latex col number; allow less than three of `=` (#16040)Andrey Makarov2020-12-041-4/+182
|
* cleanup docs and tests (#16235)flywind2020-12-031-9/+9
| | | | | * js module also uses runnableExamples * cleanup docs and tests
* add collect with infered init, refs #16078 fixes #14332 (#16089)Antonis Geralis2020-12-031-3/+19
| | | | * changelog * add testcase, fixes #14332
* add support for parsing chars in `scanf` macro (#16240)Miran2020-12-031-1/+18
|
* fixes #15939, fixes #15464, fixes #16169, fixes #16226 VM now supports ↵Timothee Cour2020-12-031-0/+66
| | | | | | | | | `addr(mystring[ind])` (index + index assignment) (#15987) * fix #15939, fix #15464 VM now supports `addr(mystring[ind])` (index + index assignment), var char return etc * cleanups * cstring tests * add test for bug #15464 * improve test coverage
* Fixes #16219, `hasArgOfName` ignoring argument sets. (#16233)Aditya Siram2020-12-031-0/+9
| | | | | | | | | | | | | | | * Fixes #16219, `hasArgOfName` ignoring argument sets. * Fix test and simplify ident traversal. * Moved test into a block and removed some boilerplate. * Fix some argument formatting. * use ..< * Change the preceding line too Co-authored-by: Clyybber <darkmine956@gmail.com>
* merge two parsecfg tests into one (#16237)flywind2020-12-032-76/+77
| | | | | | | | | | | | * try to fix #16206 * merge two parsecfg tests into one * Revert "fix" This reverts commit 668bdec2c499cf9967abfb7aad24975a04b092eb. * Revert "try to fix #16206" This reverts commit c399cc2153190299c9cbb0ad83f6ce85a7bbbb89.
* styleCheck: Fix error for `sugar` and `std/with` (#16176)ee72020-12-021-1/+1
| | | | | | | | | | | | | | | | With this commit, we no longer see an error if we pass `--styleCheck:error` when compiling a file that contains `import sugar` or `import std/with`. The problem was that those modules (and only those modules) import `std/private/underscored_calls`, which contained a styleCheck issue: its spelling of `nnkArgList` didn't match the `nnkArglist` spelling in `macros.nim`. This commit fixes the issue by renaming `nnkArgList` to `nnkArglist` repo-wide. The other way around would be a breaking change for code that used `nnkArglist` and `--styleCheck:error`. Fixes: #16174
* fixed article duplication typos (#16216)ihlec2020-12-022-2/+2
|
* add test for --eval; fix a minor bug (#16224)Timothee Cour2020-12-011-0/+6
|
* nimout now consistently uses nimoutCheck (#16189)Timothee Cour2020-12-012-8/+14
|
* error instead of echo when testament category is empty; fix realtimeGC (#16162)Timothee Cour2020-12-016-46/+29
|
* better addInt (#16160)flywind2020-12-011-0/+46
| | | | | | * better addint * Update lib/system/strmantle.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* fix broken => for typed procs with pragmas (#16190)hlaaftana2020-12-011-0/+13
| | | | | | | * fix broken => for typed procs with pragmas * add more sugar tests * add ending quote
* Revert "fix #16185 (#16195)" (#16197)Andreas Rumpf2020-11-301-50/+1
| | | This reverts commit bb4b27a2ca414f06fbb9d14ff76fa02a088ac141.
* fix #16185 (#16195)cooldome2020-11-301-1/+50
| | | | | | | | | | | * fix #16185 * fix test * fix comment * fix comment * better approach
* cleanup old codes (#16173)flywind2020-11-301-9/+2
|
* testament spec: remove errmsg alias of errormsg (#16188)Timothee Cour2020-11-2912-12/+12
|
* testament: error instead of silently overwrite a spec (#16166)Timothee Cour2020-11-293-19/+36
|
* experimental/diff: move isMainModule block to tests/stdlib/tdiff.nim (#16172)Timothee Cour2020-11-281-0/+73
|
* fix #14242 `testament r tests/js/foo` now works; testament now honors ↵Timothee Cour2020-11-281-14/+14
| | | | | | | --targets (#16163) * fix #14242 `testament r tests/js/foo` now works; testament now honors --targets * fix shouldfail
* make megatest consistent with unjoined tests wrt newlines, honor newlines in ↵Timothee Cour2020-11-2830-84/+90
| | | | | | | output spec (#16151) * fix megatest newlines * still allow missing trailing newline for now but in a more strict way than before
* fix #13115 (#15930)flywind2020-11-271-0/+13
| | | | | * fix #13115 * fix testament
* move rest of tests to testament (#16140)flywind2020-11-276-1/+228
| | | | * move rest of tests to testament * Update tests/stdlib/tsums.nim
* add testcase (#16156)flywind2020-11-271-0/+9
|
* tunidecode minor improvement (#16157)flywind2020-11-271-3/+2
|
* add `**` to jsffi (#16141)flywind2020-11-261-1/+33
| | | | | | | | | | | | | | | * fix rope index * add testcase * fix ropes format * add `**` to jsffi * add testcase * changelog Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* updated repr tests (#16147)Andreas Rumpf2020-11-261-1/+0
|
* fixes https://github.com/status-im/nimbus-eth2/issues/1549 (#16146)Andreas Rumpf2020-11-261-0/+1
| | | | | * fixes https://github.com/status-im/nimbus-eth2/issues/1549 [backport:1.4] * test fixup
* More on #16110 (#16130)cooldome2020-11-261-6/+21
| | | | | | | | | | | * fix #16110 * refs #16110 * fix comment * Trigger build * use shallowCopy for efficiency
* fix #16120 (#16145)cooldome2020-11-261-1/+15
|
* fixes #15076 (#16143)Andreas Rumpf2020-11-262-0/+95
| | | | | | | | | * fixes #15076 * heapqueue: optimized for ARC * added another test case [backport:1.4] * code cleanup
* fix #14339, #13511, #14420: fixes limited VM support for addr (#16002)Timothee Cour2020-11-253-42/+155
| | | | | | | | | | | * fix #14339: fixes limited VM support for addr * strengthen test * reference bug #16003 * also fixes #13511 * also fixes #14420
* inc and dec are atomic in JS backend (#16129)flywind2020-11-251-0/+9
|
* move tests under the compiler directory to testament (#16096)flywind2020-11-255-0/+344
|
* add simple writeStackTrace for JS backend (#16016)flywind2020-11-241-0/+12
| | | | | | | * add simple writeStackTrace for JS backend * add testcase for writeStackTrace * changelog
* move tests to testament (#16101)flywind2020-11-2428-42/+2205
| | | | | | | | | * move tests to testament * minor * fix random * disable test random
* fixes #16069; [backport:1.2] [backport:1.4] (#16115)Andreas Rumpf2020-11-243-13/+20
| | | | | * fixes #16069; refs https://github.com/nim-lang/RFCs/issues/257 [backport:1.2] [backport:1.4] * make tests green again
* fix #16110 (#16117)cooldome2020-11-241-0/+18
|
* Revert "fix #16110"Andrey R (cooldome)2020-11-241-19/+0
| | | | This reverts commit f8b9d8c1904c662f07e5ee1138357695a1df9ac3.
* fix #16110Andrey R (cooldome)2020-11-241-0/+19
|
* typeinfo minor improvement (#16083)flywind2020-11-232-0/+60
| | | | | | | | | * typeinfo minor improvement * minor * Update lib/core/typeinfo.nim * rename typeinfo
* fix #14056 (#16071)kemifl2020-11-231-2/+27
| | | fix #14056, incorporate review comments
* fix ropes format errors (#16106) [backport:1.0]flywind2020-11-231-0/+7
| | | | | | | * fix rope index * add testcase * fix ropes format
* fix rope index (#16100)flywind2020-11-231-0/+66
| | | | | * fix rope index * add testcase
* fix #9695 asyncmacro: tfuturevar fails when activated [backport: 1.0] (#16090)flywind2020-11-221-5/+0
| | | | | | | * fix asyncmacro * Apply suggestions from code review * Update lib/pure/asyncmacro.nim
* sets minor improvement (#16087)flywind2020-11-211-0/+261
|
* deques minor improvement (#16084)flywind2020-11-211-0/+111
|