summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* getTypeImpl now returns pragmas for object types (#9538)jcosborn2018-10-301-0/+18
|
* #9348 Merge some small test files (#9561)Ian2018-10-309-100/+102
| | | | * Consolidated types issue tests * Consolidated vm issue tests
* More descriptive names of test files (#9531)Miran2018-10-2920-7/+8
| | | | | * change generic `tissues` name to more specific * change `tvarious` to more specific names
* Merge pull request #9541 from narimiran/fix-6986Arne Döring2018-10-291-0/+16
|\ | | | | Closes #6986
| * Closes #6986narimiran2018-10-281-0/+16
| |
* | Make htmlparser parse unquoted attrib values (#9537)rec2018-10-291-0/+45
| | | | | | Fixes #6154
* | Implements #9434. Minimal Stacktrace for Exceptions in release mode (#9480)cooldome2018-10-281-1/+3
| | | | | | * Fixes #9434
* | Remove install.txt and readme.txt (#9521)Utwo2018-10-287-8/+9
| | | | | | | | | | | | | | | | * Remove install.txt and readme.txt * Refactor tests that use readme.txt * Tests open own source code
* | Fix strscans.scanp (#9518)xzfc2018-10-281-0/+86
| | | | | | | | | | | | | | | | * strscans: fix typo * strscans: fix #9240 * strscans: add tests
* | Parse the usage of the SQL in operator properly (#9527)zah2018-10-281-1/+1
| | | | | | Also adds a `treeRepr` renderer for the SQL nodes.
* | make tests\benchmarks programs compile againAraq2018-10-282-34/+34
| |
* | Merge pull request #9496 from cooldome/vm_float_castsArne Döring2018-10-281-0/+47
|\ \ | |/ |/| VM: add int <-> float casts of the same size
| * Merge branch 'devel' into vm_float_castsAndrii Riabushenko2018-10-242-0/+10
| |\
| * | Add testAndrii Riabushenko2018-10-241-0/+47
| | |
* | | Improve dumpLisp macro (#9515)Kaushal Modi2018-10-271-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve dumpLisp macro - Remove commas from the lisp representation of the AST. - Make the dumpLisp output "pretty" and indented. - Improve docs of `dumpTree` and `dumpLisp` macros. With: dumpLisp: echo "Hello, World!" Output before this commit: StmtList(Command(Ident("echo"), StrLit("Hello, World!"))) Output after this commit: (StmtList (Command (Ident "echo") (StrLit "Hello, World!"))) * Re-use the traverse proc inside treeRepr for lispRepr too - Add module-local `treeTraverse` proc. - Also fix treeRepr/dumpTree not printing nnkCommentStmt node contents. * More doc string updates * Allow unindented lispRepr output for tests * Update a test affected by the lispRepr change * Fix dumpTree * Add note about lispRepr and dumpLisp to changelog [ci skip]
* | | correct tnoop test caseAraq2018-10-251-2/+3
| |/ |/|
* | make tests green againAndreas Rumpf2018-10-241-0/+1
| |
* | fixes #9276 (#9317)Arne Döring2018-10-241-0/+9
|/
* Don't crash if GC_{un,}ref is called on nil (#9445)LemonBoy2018-10-221-0/+11
| | | Fixes #9442
* Fix printing and comparing uninitialized stringsrecloser2018-10-213-9/+17
|
* add test caseVindaar2018-10-201-0/+4
|
* Fixes 6544 (#9427)LemonBoy2018-10-191-0/+8
| | | | | | | | | | * Fix call to converters with var/lent args Fixes #6544 * Fix printing of lent types * lent is only valid for result types
* merge stdlib tests (#9439)Miran2018-10-1928-522/+458
|
* added test for #4674 (#9438)jcosborn2018-10-191-0/+11
|
* Change the order of compilation passes, transformation is made lazy at code ↵cooldome2018-10-183-18/+58
| | | | | | | | | | | | | | | gen (#8489) * Ast no transformation * Add getImplNoTransform to the macros module * progress on delaying transf * Fix methods tranformation * Fix lazy lambdalifting * fix create thread wrapper * transform for lambda lifting * improve getImplTransformed * Fix destructor tests * try to fix nimprof for linux
* Merge pull request #8366 from krux02/nimnode-orArne Döring2018-10-181-0/+14
|\ | | | | or on NimNode
| * added test case for `or` operatorArne Döring2018-10-181-0/+14
| |
* | closes #6220Araq2018-10-181-0/+415
| |
* | fixes #5519Araq2018-10-181-0/+36
| |
* | closes #5321Araq2018-10-181-0/+24
| |
* | fixes #7972Araq2018-10-181-0/+15
| |
* | fix #9394 by replacing `fmt` with `strutils.%` (#9417)Vindaar2018-10-181-0/+7
|/ | | | | | | | * fix #9394 by replacing `fmt` with normal string append Until issue #7632 is fixed, use string append. * use `strutils.%` instead of normal string add
* tests: disable flaky tests for now; closes #9421Araq2018-10-182-1/+2
|
* Relax the restrictions on the index types (#9412)LemonBoy2018-10-181-3/+6
|
* make some tests faster (#9413)Miran2018-10-175-43/+20
| | | | | | | | | | | | * remove duplicated slow test * smaller `convex hull` * smaller sleep * faster `trtree` * smaller sleep in `tfuturestream`
* make thavlak and tmarkerproc_regression tests take fewer iterations in order ↵Araq2018-10-172-8/+8
| | | | to speedup the CIs
* Unicode escape in string literals (#9390)Oscar Nihlgård2018-10-171-3/+3
|
* fixes a regression about indexing into UncheckedArrayAndreas Rumpf2018-10-161-0/+4
|
* Merge tests into a larger file (part 5 of ∞) (#9368)Miran2018-10-1695-1813/+1762
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2018-10-151-94/+113
|\
| * fix #8225 os.isHidden was buggy on posix (#8315)Timothee Cour2018-10-151-94/+113
| | | | | | | | | | | | * fix #8225 isHidden was broken on posix * scope rest of tos.nim under blocks to avoid variable scope bugs
* | Merge branch 'Fixes-7845' of https://github.com/cooldome/Nim into ↵Araq2018-10-151-0/+15
|\ \ | | | | | | | | | cooldome-Fixes-7845
| * \ Merge branch 'devel' into Fixes-7845cooldome2018-06-2654-78/+2512
| |\ \
| * | | Fixescooldome2018-06-121-1/+0
| | | |
| * | | Fixes 7845cooldome2018-06-101-0/+16
| | | |
* | | | fixes #2760Araq2018-10-151-0/+10
| |_|/ |/| |
* | | DFA: implement exception handling properlyAndreas Rumpf2018-10-141-13/+33
| | |
* | | merge macros tests (#9367)Miran2018-10-1417-373/+352
| | |
* | | [WIP] Early evaluation of mIs (#8723)LemonBoy2018-10-142-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | Merge tests into a larger file (part 3 of ∞: generics) (#9347)Miran2018-10-1465-1276/+1236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge generics issues tests * merge tgeneric * merge test with local imports * merge tcan tests * merge matcher tests * more issue tests merged * one more tcan test * merge various small tests into one file * add a test for #3717