summary refs log tree commit diff stats
path: root/tests/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* updated tests to be executedArne Döring2018-11-234-3/+25
|
* delete old cruftArne Döring2018-11-231-11/+0
|
* make tests green againAraq2018-11-161-1/+1
|
* removes deprecated T/P typesAraq2018-11-161-5/+5
|
* times - remove unneeded negative sign when parsing formats z and zz (#9631)pgkos2018-11-061-0/+9
| | | | | | * fix wrong utcoffset sign for formats z and zz * add tests for the timezone offset formats
* Add parsing empty attribs to htmlparser (#9559)rec2018-10-301-1/+14
|
* More descriptive names of test files (#9531)Miran2018-10-292-0/+0
| | | | | * change generic `tissues` name to more specific * change `tvarious` to more specific names
* Make htmlparser parse unquoted attrib values (#9537)rec2018-10-291-0/+45
| | | Fixes #6154
* Remove install.txt and readme.txt (#9521)Utwo2018-10-283-3/+3
| | | | | | | | * 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.
* add test caseVindaar2018-10-201-0/+4
|
* merge stdlib tests (#9439)Miran2018-10-1928-522/+458
|
* 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
* 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
* fixes #8916 by fixing typeinfo and marshal. (#9341)Vindaar2018-10-131-0/+13
| | | | | | | | | * fixes #8916 by removing `tyString`, `tySeq`, mod. marshal, typeinfo Need to check in `typeinfo` for nil of the underlying pointer. In marshal don't have to check for nil of seq anymore. * remove reference to string, sequence in `isNil` doc string
* Testament pre parallel (#9137)Jacek Sieka2018-10-121-1/+1
| | | | | | | | | | * testament: move to root dir (it's not a test) * osproc: fix process index passed to afterRunEvent for parallel runs it was passing the index of the process, not index of all commands * testament: complete file move
* 8684 add shortcut sort procs (#9174)Konstantin Molchanov2018-10-111-1/+61
| | | | | | | | * Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs. * Add tests for sort, sorted, and isSorted procs from algorithm module. * Merge sort tests into tsortcall.nim, remove tsort.nim. * Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs. * Add tests for sort, sorted, and isSorted procs from algorithm module. * Merge sort tests into tsortcall.nim, remove tsort.nim.
* Fix tests on NixOS (#9209) (#9285)xzfc2018-10-101-1/+1
| | | | | | | * Replace `/bin/sleep` with just `sleep`, i.e. use environment variable `$PATH` to locate binary. * Replace `/usr/share/zoneinfo` with `$TZDIR` when it is defined, fallback to hardcoded path otherwise. This is the same behavior that Glibc2 normally have, see man 3 tzset.
* fix #8341: add lastPathPart (#9116)Timothee Cour2018-10-091-19/+42
|
* os: use unlink() to remove file (#9220)alaviss2018-10-091-0/+9
| | | | | removeFile() behavior should now be consistant between Windows and POSIX Fixes #9200
* Fix #9126: use splitPath instead of substrYasuhiro Horimoto2018-09-301-0/+14
|
* Convert *_family fields to cushortLemonBoy2018-09-191-2/+2
| | | | Fixes #9008
* add test caseVindaar2018-09-171-0/+16
|
* fixes #8911Andreas Rumpf2018-09-161-0/+15
|
* fixes #8961Araq2018-09-141-1/+10
|
* closes #5252Araq2018-09-031-0/+19
|
* Add interpreting event parser proc to pegs module. (#8075)gemath2018-08-241-36/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added simple interpreting event parser to pegs module. * Has side-effects problem. * Macro solution works. * First flat callback test works. * Fixed namespace pollution. * Added handler for pkChar. * Replaced event parser test. * Started extensive docs. * 'callback' to 'handler' renaming part 1. * Renaming 'callback' to 'handler' part2, completed comments. * Fixed exported API pollution. * Added more event handler hooks, fixed comments. * Changed event parser addition entry. * Fixed variable names and comments. * Enhanced comment. * Leave handlers are not called for an unsuccessful match. * The three varieties of back-reference matches are processed in separate of-clauses now. * Improved hygiene and (almost) eliminated exports. * Trying to fix CI test breakage by eliminating export. * Trying to fix CI test breakage by eliminating exports. * Re-activated leave handler code execution for unsuccessful matches. * Eliminated the last export statement (with a funny smelling hack). * Make sure leave handler code is executed for all unsuccessful matcher cases. * Replaced local unicode.`==` with export.
* Cleanup ttimes (#8714)Oscar Nihlgård2018-08-221-101/+72
| | | | | | * Refactor fromWinTime * Cleanup ttimes
* Fixes ropes regressions due to the not-nil strings (#8687)Dmitry Atamanov2018-08-201-0/+36
|
* times.Timezone changes (#8527)Oscar Nihlgård2018-08-171-24/+6
| | | | | | | | | | * Use floorDiv in times.nim * New implementation of times.Timezone * Tweak doc comments * Fix typo
* changes how the now illegal 'string == nil' comparison is detectedAndreas Rumpf2018-08-151-0/+4
|
* Merge branch 'devel' into araq-miscAraq2018-08-131-1/+8
|\
| * Fixed 7478: splitLines keepEol option (#8621)Iván Montes2018-08-131-1/+8
| |
* | make more tests greenAndreas Rumpf2018-08-134-9/+9
|/
* fixes #8519; implements T.distinctBase to reverse T = distinct A (#8531)Timothee Cour2018-08-101-0/+29
|
* fix wrong arch defined(osx) (#8492)Timothee Cour2018-08-021-1/+1
|
* fixes #8468, stdlib.encodings.convert not crash anymore on windows (#8470)andri lim2018-07-301-0/+21
|
* fixes #8037, json.to support object with distinct types (#8086)andri lim2018-07-191-3/+102
| | | | | | * add distinct types to json 'to' macro * fix json 'to' macro and add more test
* New implementations of times.parse & times.format (#8094)Oscar Nihlgård2018-07-091-61/+149
|
* Add normalizePath and testsFederico Ceratto2018-07-061-0/+62
|
* Merge branch 'araq-devel' of github.com:nim-lang/Nim into araq-develAndreas Rumpf2018-07-061-2/+3
|\
| * make tmemfile2 work againAraq2018-07-061-2/+3
| |
* | make tests green againAndreas Rumpf2018-07-061-1/+1
|/
* make test green for OSXAndreas Rumpf2018-07-061-2/+5
|
* Merge branch 'devel' into araq-develAndreas Rumpf2018-07-041-0/+41
|\
| * Fix os.unixToNativePath proc returns wrong result(#8179) (#8181)Tomohiro2018-07-021-0/+41
| | | | | | | | | | | | * Fix os.unixToNativePath proc returns wrong result(#8179) * Add tests for unixToNativePath
* | system.nim: remove deprecated symbolsAndreas Rumpf2018-06-281-2/+2
|/
* Pegs AST read access (#8050)gemath2018-06-191-0/+78
| | | | | | | | | | | | * Make PEG AST nodes readable from outside the module. * Added a test module for the pegs stdlib module. * Edited changelog. * Renamed ``sons`` iterator to ``items``, added ``pairs``, inlined both. * Updated entry and moved it to the right category.
* Add MemMapFileStream. Fixes in memFiles. (#7944)Dmitry Atamanov2018-06-142-1/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add MemMapFileStream * Added tests * Fixed bug in memfiles (zero index for string) * Added flush to changelog * Attempt to fix Win's nuances * Fix attempt to fix * Continue... * And again... * Reworked tests (all for win on Win) * Fixes in flush (Win) * Replace fn vars to consts * Added the attempts parameter to the flush * Replace while to for * Move to memfiles * Use Natural instead of uint * Better error messages for append mode. Handle specific cases.