summary refs log tree commit diff stats
path: root/tests/magics
Commit message (Collapse)AuthorAgeFilesLines
* make megatest consistent with unjoined tests wrt newlines, honor newlines in ↵Timothee Cour2020-11-281-2/+3
| | | | | | | output spec (#16151) * fix megatest newlines * still allow missing trailing newline for now but in a more strict way than before
* close #10307(add testcase for #10307) (#15840)flywind2020-11-051-0/+23
|
* close #12746; minor cleanup (#14379)Timothee Cour2020-05-171-60/+0
|
* run runnableExamples in the module scope (#11732) [feature]Timothee Cour2019-07-221-0/+60
|
* megatest: make it green on LinuxAraq2018-12-111-3/+4
|
* Don't crash if GC_{un,}ref is called on nil (#9445)LemonBoy2018-10-221-0/+11
| | | Fixes #9442
* Merge tests into a larger file (part 5 of ∞) (#9368)Miran2018-10-163-59/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge magics * merge metatype tests * merge method tests * merge objects tests * change `import future` to `import sugar` Nim in Action tests are left with `import future`, to ensure compatibility. * merge overload tests * merge proc tests * merge procvar tests * merge range tests * merge seq tests * merge sets tests * remove wrong assert from `tsets3` * fix `jsTests` * better fix
* [WIP] Early evaluation of mIs (#8723)LemonBoy2018-10-141-0/+6
| | | | | | | | | | * Early evaluation of mIs The `evalIs` implementation was just a broken copy of `isOpImpl` so let's just avoid it alltogether: `mIs` nodes are either resolved during the semantic phase or bust. * Remove dead code and tidy it up
* Don't consider tyAnd/tyNot/tyOr/tyAnything as generic (#8700)LemonBoy2018-08-221-0/+29
| | | | | | | | | | | | | | | * Don't consider tyAnd/tyNot/tyOr/tyAnything as generic `containsGenericType` was too shallow and didn't check all the branches. The resulting half-processed nodes are often simplified by the constant folding pass but when that's not possible we get a nasty error during codegen. Fixes #8693 * Move the blame onto the semFold pass Slightly better evaluation of `is` forms.
* the parser finally parses 'echo {1,2}' as it shouldAndreas Rumpf2017-09-301-1/+1
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-18/+18
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* new tester; all tests categorizedAraq2014-01-131-0/+24