summary refs log tree commit diff stats
path: root/tests/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* moved random procs from math to its own module (breaking change)Andreas Rumpf2016-05-302-2/+2
|
* Merge pull request #4130 from lihf8515/develAndreas Rumpf2016-05-261-23/+35
|\ | | | | Update parsecfg.nim
| * Update tparscfg.nimlihf85152016-05-021-23/+35
| |
* | Merge pull request #4025 from flyx/highlight-yamlAndreas Rumpf2016-05-121-0/+139
|\ \ | |/ |/| YAML highlighting support for doctools/highlite
| * Fixes to YAML highlighting support, added testsFelix Krause2016-04-011-0/+139
| |
* | Add parseUInt and parseBiggestUInt functions to stdlib (parseutils, strutils)Anatoly Galiulin2016-03-301-0/+11
|/
* SpellcheckFederico Ceratto2016-02-291-1/+1
|
* Fix tmitems test for changed behaviour of jsondef2016-02-241-2/+2
|
* Fix test cases for JSON object changesdef2016-02-241-1/+1
|
* Fixed issue 3539, added testAnatoly Galiulin2016-01-281-0/+39
|
* makes tests greenAndreas Rumpf2016-01-151-1/+1
|
* Fixed TimeInterval bug.Dominik Picheta2016-01-081-0/+5
|
* Fixed ttime test. Improved docs in times module.Dominik Picheta2016-01-081-1/+0
|
* add timeinterval helping functions as per issue #3609JamesP2015-12-081-37/+57
| | | | | | | | | | add tests to ttime.nim for timeinterval add/subtract functionality Changed assert to doAssert in ttime.nim Added extra tests to ttime.nim Removal of singular help procs for working with TimeIntervals Added TimeIin proc toSeconds(a: TimeInfo, interval: TimeInterval) where subtracting a year gave wrong results Add overflow of units on initInterval eg, 65 seconds is 5 seconds and 1 minute
* add assertion tests from times module to ttime.nim test file in tests\stdlibJamesP2015-12-011-2/+121
|
* Add a unit test that covers issue 3477Charles Blake2015-11-191-0/+1
| | | | https://github.com/nim-lang/Nim/issues/3477
* Merge branch 'mget' of https://github.com/def-/Nim into def--mgetAraq2015-10-132-1/+142
|\ | | | | | | | | | | | | | | | | | | Conflicts: lib/pure/collections/critbits.nim lib/pure/collections/tables.nim lib/pure/xmltree.nim lib/system/sets.nim tests/collections/ttables.nim tests/collections/ttablesref.nim
| * Rename mget to `[]`def2015-03-312-1/+142
| | | | | | | | | | | | | | | | | | - In sets, tables, strtabs, critbits, xmltree - This uses the new var parameter overloading - mget variants still exist, but are deprecated in favor of `[]` - Includes tests and fixed tests and usages of mget - The non-var `[]` now throws an exception instead of returning binary 0 or an empty string
* | fixing unittestPeter Mora2015-10-061-1/+1
| |
* | fixes #2473; cleanup of some testsAraq2015-09-301-0/+2
| |
* | Merge pull request #3378 from jlp765/streamsExDominik Picheta2015-09-271-0/+13
|\ \ | | | | | | Streams examples & default newFileStream() file mode
| * | fix discard output: sectionJamesP2015-09-271-2/+1
| | |
| * | add test for newFileStream() opening a missing fileJamesP2015-09-261-0/+14
| | |
* | | minor fix - remove comments from discard sectionJamesP2015-09-272-2/+0
|/ / | | | | | | so koch test doesn't complain
* | add memfiles test of create/read/write dataJamesP2015-09-241-0/+38
| |
* | improve discard textJamesP2015-09-241-2/+2
| |
* | add memfiles test that closing a closed memFile is ignored (and raises no ↵JamesP2015-09-241-0/+13
| | | | | | | | [OSError])
* | tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-0422-220/+220
| | | | | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* | cleaned up twchartoutf8 testAraq2015-08-211-102/+106
| |
* | Merge pull request #3205 from fenekku/unittest-work-2Andreas Rumpf2015-08-211-0/+45
|\ \ | | | | | | other unittest pull-request
| * | make testSetupIMPL and testTeardownIMPL non-publicfenekku2015-08-121-0/+45
| | |
* | | fixed UTF-16 to UTF-8 conversion in widestrs.nimjangko2015-08-211-7/+35
| | | | | | | | | | | | | | | | | | the source of problem for issue #3228 also add test for entire range of valid UTF-16 and test for invalid UTF-16 sequence
* | | fixed UTF-16 to UTF-8 conversion in widestrs.nimjangko2015-08-201-0/+78
| | | | | | | | | | | | | | | the source of problem for issue #3228 also add test for entire range of valid UTF-16
* | | Merge pull request #3131 from zachaysan/develDominik Picheta2015-08-131-4/+44
|\ \ \ | |/ / |/| | Create chomp proc and tests
| * | Update tests to proposed changesZach Aysan2015-07-211-16/+39
| | |
| * | Add tests for chompZach Aysan2015-07-171-4/+21
| | |
* | | Merge ../Nim into develCharles Blake2015-08-091-0/+5
|\ \ \
| * | | Fix multiple requires in a testNycto2015-08-011-0/+5
| | | |
* | | | Move tests to stdlib.Charles Blake2015-08-033-0/+17
|/ / /
* / / document unittest.nim + code agreementfenekku2015-07-091-0/+14
|/ /
* | Merge pull request #2961 from Perelandric/rename_writeLnDominik Picheta2015-06-208-197/+197
|\ \ | | | | | | Renamed writeln to writeLine. Issue #2958
| * | renamed writeln to writeLine in testspatrick dw2015-06-198-197/+197
| | |
* | | Added test file for #2813.Dominik Picheta2015-06-201-0/+45
|/ /
* | Fix flaviut/nre#20Flaviu Tamas2015-06-181-0/+1
| |
* | Merge pull request #2818 from flaviut/add-nreAndreas Rumpf2015-06-1210-0/+245
|\ \ | | | | | | Add nre to stdlib
| * | Fix nre testsFlaviu Tamas2015-06-071-1/+1
| | |
| * | Merge branch 'devel' of https://github.com/Araq/Nim into add-nreFlaviu Tamas2015-06-071-0/+21
| |\ \ | | | | | | | | | | | | | | | | | | | | * 'devel' of https://github.com/Araq/Nim: Fix #964, fix #1384 Don't inspect typedescs
| * | | Rearrange nre filesFlaviu Tamas2015-05-2610-0/+245
| | | |
* | | | Add "safety compilation". Improved, fixed messagesOscar Campbell2015-06-041-2/+2
| |/ / |/| | | | | | | | | | | | | | | | | | | | - node ext searcher also looks for "iojs" if no node(js?) found. - koch ensures the local work dir compiler is freshly compiled before executing the tests. - the tester can only run in the repo dir - now the compiler and libs used are also explicitly the local dirs - so no confusion from system wide pathing ("sufficiently sandboxed"). - fixed expectations in tmitems.nim test to match changes in json mod. - re-layouted the columns / row printing slightly, making test fails pop out more, and everything "normal" layed back.
* | | Fix #964, fix #1384Flaviu Tamas2015-05-261-0/+16
| | | | | | | | | | | | | | | Doesn't actually fix those bugs, but they can no longer be reproduced. Test cases have been added.