summary refs log tree commit diff stats
path: root/tests/stdlib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | | Don't inspect typedescsFlaviu Tamas2015-05-261-0/+5
|/ /
* | marshalling can be done at compile-timeAraq2015-04-251-17/+0
| |
* | Add test case for infinite loop in REdef2015-04-091-0/+9
|/
* fixes #1845, fixes #2224Araq2015-03-121-0/+29
|
* Fix tests a bit moredef2015-03-101-4/+4
|
* Merge pull request #2279 from nathan-hoad/sni-support-for-opensslDominik Picheta2015-03-101-0/+47
|\ | | | | Add SNI support to client and server sockets.
| * Make IP address checking more obvious, and add tests for the net module.Nathan Hoad2015-03-071-0/+47
| |
* | Replaced repeatStr() and repeatChar() with more natural versions.Hans Raaf2015-03-031-2/+8
|/
* some love for the testsuite; fixed regressionsAraq2015-03-011-6/+6
|
* Added test for toHex().Hans Raaf2015-02-181-24/+27
|
* fixed minor bugs; cleaned up testsAraq2015-02-122-454/+1
|
* apparently the json spacing changedSimon Hafner2015-02-081-1/+1
|
* Clean up tests/stdlibdef2015-02-043-33/+37
| | | | | | | 2 tests still fail: - tircbot would need a benign pragma because of the locks - tgetfileinfo uses os.getFileInfo() on nil, which segfaults instead of throwing an exception as the tester expects
* Adapt the tester for permutationsdef2015-02-021-11/+13
| | | | Uses the bool return value now
* Add nextPermutation and prevPermutationdef2015-02-011-0/+17
| | | | | | Fits best into algorithm module I guess. These are the most general ways, an iterator could easily be implemented from this. Same algorithm as in Rust: http://web.mit.edu/rust-lang_v0.11/doc/src/collections/var/tmp/alexp/rust/rust-0.11.0/src/libcollections/slice.rs.html#644
* Fix SinglyLinkedRing in lists moduledef2015-02-011-0/+29
| | | | | | | - SinglyLinkedRing's prepend was broken - needed a tail so that prepend can work properly - now append works as well, so I added it too - simple testcase added as well