Commit Graph

53 Commits

Author SHA1 Message Date
Dominik Picheta
e74012b396 Merge pull request #2961 from Perelandric/rename_writeLn
Renamed writeln to writeLine. Issue #2958
2015-06-20 16:25:37 +01:00
Dominik Picheta
25a5eaf722 Added test file for #2813. 2015-06-20 11:37:29 +01:00
patrick dw
69e15ac32f renamed writeln to writeLine in tests 2015-06-19 01:34:34 -05:00
Flaviu Tamas
90292754f5 Fix flaviut/nre#20 2015-06-18 12:44:12 -04:00
Andreas Rumpf
d31fe7666a Merge pull request #2818 from flaviut/add-nre
Add nre to stdlib
2015-06-12 00:13:19 +02:00
Flaviu Tamas
9db6070d73 Fix nre tests 2015-06-07 13:12:19 -04:00
Flaviu Tamas
90ed34db72 Merge branch 'devel' of https://github.com/Araq/Nim into add-nre
* 'devel' of https://github.com/Araq/Nim:
  Fix #964, fix #1384
  Don't inspect typedescs
2015-06-07 13:12:18 -04:00
Oscar Campbell
071ccf3d02 Add "safety compilation". Improved, fixed messages
- 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.
2015-06-04 07:33:27 +02:00
Flaviu Tamas
0527e1f9fe Rearrange nre files 2015-05-26 19:14:04 -04:00
Flaviu Tamas
3daef85d6e Fix #964, fix #1384
Doesn't actually fix those bugs, but they can no longer be reproduced. Test
cases have been added.
2015-05-26 18:41:28 -04:00
Flaviu Tamas
c9616897f0 Don't inspect typedescs 2015-05-26 18:40:43 -04:00
Araq
d3fc6e1f28 marshalling can be done at compile-time 2015-04-25 23:17:00 +02:00
def
08575e2aec Add test case for infinite loop in RE 2015-04-09 17:28:26 +02:00
Araq
3aad16e337 fixes #1845, fixes #2224 2015-03-12 11:08:03 +01:00
def
69e2b61c0a Fix tests a bit more 2015-03-10 15:34:15 +01:00
Dominik Picheta
3ea3aa633d Merge pull request #2279 from nathan-hoad/sni-support-for-openssl
Add SNI support to client and server sockets.
2015-03-10 11:08:21 +00:00
Nathan Hoad
5978625c12 Make IP address checking more obvious, and add tests for the net module. 2015-03-07 12:37:52 +11:00
Hans Raaf
3546ff8819 Replaced repeatStr() and repeatChar() with more natural versions. 2015-03-03 16:37:54 +01:00
Araq
24ae0c387f some love for the testsuite; fixed regressions 2015-03-01 21:41:21 +01:00
Hans Raaf
a471b3c87f Added test for toHex(). 2015-02-18 19:02:38 +01:00
Araq
10335fd726 fixed minor bugs; cleaned up tests 2015-02-12 14:56:56 +01:00
Simon Hafner
6f1152c66b apparently the json spacing changed 2015-02-08 11:01:09 -06:00
def
e0ae9f5248 Clean up tests/stdlib
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
2015-02-04 20:24:01 +01:00
def
03db4d2930 Adapt the tester for permutations
Uses the bool return value now
2015-02-02 08:06:19 +01:00
def
1ae4d535cd Add nextPermutation and prevPermutation
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
2015-02-01 18:29:01 +01:00
def
11a5a4a9a6 Fix SinglyLinkedRing in lists module
- 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
2015-02-01 03:04:18 +01:00
def
69d96b604b Add tests for mitems 2015-01-29 15:30:50 +01:00
def
aae3c6c8b7 Get rid of deprecation warnings in pegs 2015-01-16 00:23:33 +01:00
Araq
27f1743793 release of 0.10.2 2014-12-29 10:32:00 +01:00
dyu
12f97a7151 strutils.rfind via char 2014-12-19 20:08:42 +08:00
Araq
bebac34f87 fixes #1352 2014-12-14 11:49:32 +01:00
Araq
a53e97fc89 Merge branch 'devel' into bigbreak
Conflicts:
	lib/pure/osproc.nim
2014-11-03 22:50:55 +01:00
Simon Krauter
a7f5d550c1 Added test case 2014-11-03 12:18:45 +01:00
Araq
c6034277fc further adaptations 2014-08-29 09:12:12 +02:00
Simon Jakobi
60a2d8ad58 Remove unnecessary import 2014-07-19 14:37:47 +02:00
Andreas Rumpf
23621857bb Merge pull request #1099 from Varriount/os/getFileInfo
Added os.getFileInfo procedure.
2014-04-20 23:40:29 +02:00
Dominik Picheta
2fb5d62927 Tester now appreciates the test target. Modified 'cmd' in specs. 2014-04-16 21:28:19 +01:00
Clay Sweetser
9ce0ac38e5 Added tests for getFileInfo proc. 2014-04-16 03:35:09 -04:00
Dominik Picheta
941cc937d3 Fixes docgen. 2014-04-15 22:09:12 +01:00
Dominik Picheta
21d0cc8cdf Add checks for invalid socket when creating sockets. 2014-04-15 13:51:25 +01:00
Araq
5a51a25fd0 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-03-27 21:24:53 +01:00
Varriount
f40625f5c4 Merge pull request #1032 from barcharcraz/lowerBound
Added lowerBound function to the stdlib
2014-03-27 15:08:19 -04:00
Araq
76ef752957 made some tests green 2014-03-27 19:43:17 +01:00
Jason Livesay
cabc5c80d3 Calling randomize() again within 1 second will now provide a different seed 2014-03-26 18:54:34 -07:00
Charlie Barto
baa304f370 added lowerBound function to algorithm library 2014-03-23 18:28:05 -04:00
Zahary Karadjov
49b0440c47 make some tests green 2014-03-16 20:42:49 +02:00
Zahary Karadjov
cda92048ba fix some trivial errors in the test suite and some more regressions caused by tyTypeDesc[tyNone] 2014-02-18 02:46:14 +02:00
Clay Sweetser
ce5a494927 Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
Simon Hafner
0779d96a83 moved the tests for TSet to the correct place 2014-02-09 17:04:00 -06:00
Simon Hafner
75f232eb6e removed unittest from talgorithm 2014-02-06 14:55:05 -06:00