Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'mget' of https://github.com/def-/Nim into def--mget | Araq | 2015-10-13 | 2 | -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 `[]` | def | 2015-03-31 | 2 | -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 unittest | Peter Mora | 2015-10-06 | 1 | -1/+1 |
| | | |||||
* | | fixes #2473; cleanup of some tests | Araq | 2015-09-30 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #3378 from jlp765/streamsEx | Dominik Picheta | 2015-09-27 | 1 | -0/+13 |
|\ \ | | | | | | | Streams examples & default newFileStream() file mode | ||||
| * | | fix discard output: section | JamesP | 2015-09-27 | 1 | -2/+1 |
| | | | |||||
| * | | add test for newFileStream() opening a missing file | JamesP | 2015-09-26 | 1 | -0/+14 |
| | | | |||||
* | | | minor fix - remove comments from discard section | JamesP | 2015-09-27 | 2 | -2/+0 |
|/ / | | | | | | | so koch test doesn't complain | ||||
* | | add memfiles test of create/read/write data | JamesP | 2015-09-24 | 1 | -0/+38 |
| | | |||||
* | | improve discard text | JamesP | 2015-09-24 | 1 | -2/+2 |
| | | |||||
* | | add memfiles test that closing a closed memFile is ignored (and raises no ↵ | JamesP | 2015-09-24 | 1 | -0/+13 |
| | | | | | | | | [OSError]) | ||||
* | | tests: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 22 | -220/+220 |
| | | | | | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | | cleaned up twchartoutf8 test | Araq | 2015-08-21 | 1 | -102/+106 |
| | | |||||
* | | Merge pull request #3205 from fenekku/unittest-work-2 | Andreas Rumpf | 2015-08-21 | 1 | -0/+45 |
|\ \ | | | | | | | other unittest pull-request | ||||
| * | | make testSetupIMPL and testTeardownIMPL non-public | fenekku | 2015-08-12 | 1 | -0/+45 |
| | | | |||||
* | | | fixed UTF-16 to UTF-8 conversion in widestrs.nim | jangko | 2015-08-21 | 1 | -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.nim | jangko | 2015-08-20 | 1 | -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/devel | Dominik Picheta | 2015-08-13 | 1 | -4/+44 |
|\ \ \ | |/ / |/| | | Create chomp proc and tests | ||||
| * | | Update tests to proposed changes | Zach Aysan | 2015-07-21 | 1 | -16/+39 |
| | | | |||||
| * | | Add tests for chomp | Zach Aysan | 2015-07-17 | 1 | -4/+21 |
| | | | |||||
* | | | Merge ../Nim into devel | Charles Blake | 2015-08-09 | 1 | -0/+5 |
|\ \ \ | |||||
| * | | | Fix multiple requires in a test | Nycto | 2015-08-01 | 1 | -0/+5 |
| | | | | |||||
* | | | | Move tests to stdlib. | Charles Blake | 2015-08-03 | 3 | -0/+17 |
|/ / / | |||||
* / / | document unittest.nim + code agreement | fenekku | 2015-07-09 | 1 | -0/+14 |
|/ / | |||||
* | | Merge pull request #2961 from Perelandric/rename_writeLn | Dominik Picheta | 2015-06-20 | 8 | -197/+197 |
|\ \ | | | | | | | Renamed writeln to writeLine. Issue #2958 | ||||
| * | | renamed writeln to writeLine in tests | patrick dw | 2015-06-19 | 8 | -197/+197 |
| | | | |||||
* | | | Added test file for #2813. | Dominik Picheta | 2015-06-20 | 1 | -0/+45 |
|/ / | |||||
* | | Fix flaviut/nre#20 | Flaviu Tamas | 2015-06-18 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #2818 from flaviut/add-nre | Andreas Rumpf | 2015-06-12 | 10 | -0/+245 |
|\ \ | | | | | | | Add nre to stdlib | ||||
| * | | Fix nre tests | Flaviu Tamas | 2015-06-07 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'devel' of https://github.com/Araq/Nim into add-nre | Flaviu Tamas | 2015-06-07 | 1 | -0/+21 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | * 'devel' of https://github.com/Araq/Nim: Fix #964, fix #1384 Don't inspect typedescs | ||||
| * | | | Rearrange nre files | Flaviu Tamas | 2015-05-26 | 10 | -0/+245 |
| | | | | |||||
* | | | | Add "safety compilation". Improved, fixed messages | Oscar Campbell | 2015-06-04 | 1 | -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 #1384 | Flaviu Tamas | 2015-05-26 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | Doesn't actually fix those bugs, but they can no longer be reproduced. Test cases have been added. | ||||
* | | | Don't inspect typedescs | Flaviu Tamas | 2015-05-26 | 1 | -0/+5 |
|/ / | |||||
* | | marshalling can be done at compile-time | Araq | 2015-04-25 | 1 | -17/+0 |
| | | |||||
* | | Add test case for infinite loop in RE | def | 2015-04-09 | 1 | -0/+9 |
|/ | |||||
* | fixes #1845, fixes #2224 | Araq | 2015-03-12 | 1 | -0/+29 |
| | |||||
* | Fix tests a bit more | def | 2015-03-10 | 1 | -4/+4 |
| | |||||
* | Merge pull request #2279 from nathan-hoad/sni-support-for-openssl | Dominik Picheta | 2015-03-10 | 1 | -0/+47 |
|\ | | | | | Add SNI support to client and server sockets. | ||||
| * | Make IP address checking more obvious, and add tests for the net module. | Nathan Hoad | 2015-03-07 | 1 | -0/+47 |
| | | |||||
* | | Replaced repeatStr() and repeatChar() with more natural versions. | Hans Raaf | 2015-03-03 | 1 | -2/+8 |
|/ | |||||
* | some love for the testsuite; fixed regressions | Araq | 2015-03-01 | 1 | -6/+6 |
| | |||||
* | Added test for toHex(). | Hans Raaf | 2015-02-18 | 1 | -24/+27 |
| | |||||
* | fixed minor bugs; cleaned up tests | Araq | 2015-02-12 | 2 | -454/+1 |
| | |||||
* | apparently the json spacing changed | Simon Hafner | 2015-02-08 | 1 | -1/+1 |
| | |||||
* | Clean up tests/stdlib | def | 2015-02-04 | 3 | -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 permutations | def | 2015-02-02 | 1 | -11/+13 |
| | | | | Uses the bool return value now | ||||
* | Add nextPermutation and prevPermutation | def | 2015-02-01 | 1 | -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 module | def | 2015-02-01 | 1 | -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 |