Joey Payne
33146a74c1
Add os tests for directory creation, iteration and deletion
2016-06-20 14:32:01 -06:00
Andreas Rumpf
95bb19a579
moved random procs from math to its own module (breaking change)
2016-05-30 16:24:52 +02:00
Andreas Rumpf
301d39b882
Merge pull request #4130 from lihf8515/devel
...
Update parsecfg.nim
2016-05-26 10:51:10 +02:00
Andreas Rumpf
4b13484025
Merge pull request #4025 from flyx/highlight-yaml
...
YAML highlighting support for doctools/highlite
2016-05-12 14:59:00 +02:00
lihf8515
a1de24e2f6
Update tparscfg.nim
2016-05-02 16:59:38 +08:00
Felix Krause
6fe916fc77
Fixes to YAML highlighting support, added tests
2016-04-01 21:35:46 +02:00
Anatoly Galiulin
9aa845c6b6
Add parseUInt and parseBiggestUInt functions to stdlib (parseutils, strutils)
2016-03-30 17:38:57 +06:00
Federico Ceratto
d9cb85c2d8
Spellcheck
2016-02-29 11:25:51 +00:00
def
510a503f34
Fix tmitems test for changed behaviour of json
2016-02-24 19:03:55 +01:00
def
57897698d1
Fix test cases for JSON object changes
2016-02-24 19:03:55 +01:00
Anatoly Galiulin
477e3b0e20
Fixed issue 3539, added test
2016-01-28 16:56:06 +06:00
Andreas Rumpf
0d4e52c648
makes tests green
2016-01-15 14:44:54 +01:00
Dominik Picheta
fffdae32c7
Fixed TimeInterval bug.
2016-01-08 11:54:34 +00:00
Dominik Picheta
09b159b816
Fixed ttime test. Improved docs in times module.
2016-01-08 11:46:11 +00:00
JamesP
8af8f7673b
add timeinterval helping functions as per issue #3609
...
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
2015-12-08 10:16:42 +10:00
JamesP
c660a7f942
add assertion tests from times module to ttime.nim test file in tests\stdlib
2015-12-01 18:07:31 +10:00
Charles Blake
a1df79d5f2
Add a unit test that covers issue 3477
...
https://github.com/nim-lang/Nim/issues/3477
2015-11-19 07:03:06 -05:00
Araq
d8b0edc323
Merge branch 'mget' of https://github.com/def-/Nim into def--mget
...
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
2015-10-13 00:22:27 +02:00
Peter Mora
b284ace099
fixing unittest
2015-10-06 08:24:43 +02:00
Araq
5a003532d0
fixes #2473 ; cleanup of some tests
2015-09-30 21:13:13 +02:00
Dominik Picheta
0370dff8e0
Merge pull request #3378 from jlp765/streamsEx
...
Streams examples & default newFileStream() file mode
2015-09-27 13:46:04 +01:00
JamesP
8b230ec085
minor fix - remove comments from discard section
...
so koch test doesn't complain
2015-09-27 16:21:47 +10:00
JamesP
772c25bfe8
fix discard output: section
2015-09-27 15:49:40 +10:00
JamesP
e0707797a5
add test for newFileStream() opening a missing file
2015-09-26 08:34:59 +10:00
JamesP
63c35a98f4
add memfiles test of create/read/write data
2015-09-24 09:43:31 +10:00
JamesP
48932dbf98
improve discard text
2015-09-24 09:34:44 +10:00
JamesP
7490667578
add memfiles test that closing a closed memFile is ignored (and raises no [OSError])
2015-09-24 09:23:48 +10:00
Adam Strzelecki
e80465dacf
tests: Trim .nim files trailing whitespace
...
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Araq
dd2a0ec431
cleaned up twchartoutf8 test
2015-08-21 21:40:24 +02:00
Andreas Rumpf
47919e219b
Merge pull request #3205 from fenekku/unittest-work-2
...
other unittest pull-request
2015-08-21 21:30:10 +02:00
jangko
7c757599f1
fixed UTF-16 to UTF-8 conversion in widestrs.nim
...
the source of problem for issue #3228
also add test for entire range of valid UTF-16
and test for invalid UTF-16 sequence
2015-08-21 10:43:31 +07:00
jangko
c103eddc73
fixed UTF-16 to UTF-8 conversion in widestrs.nim
...
the source of problem for issue #3228
also add test for entire range of valid UTF-16
2015-08-20 20:30:14 +07:00
Dominik Picheta
ad245dbd77
Merge pull request #3131 from zachaysan/devel
...
Create chomp proc and tests
2015-08-13 22:31:30 +01:00
fenekku
c62698b296
make testSetupIMPL and testTeardownIMPL non-public
2015-08-12 10:30:36 -04:00
Charles Blake
9c3c48a6d0
Merge ../Nim into devel
2015-08-09 06:58:36 -04:00
Charles Blake
5497c964d0
Move tests to stdlib.
2015-08-03 12:35:57 -04:00
Nycto
eac484167c
Fix multiple requires in a test
2015-08-01 18:48:41 -07:00
Zach Aysan
94149f7a48
Update tests to proposed changes
2015-07-21 15:04:10 -04:00
Zach Aysan
d28862422b
Add tests for chomp
2015-07-17 16:26:10 -04:00
fenekku
464ec61e9c
document unittest.nim + code agreement
2015-07-09 13:22:26 -04:00
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