Tomohiro
3a3ff76526
Add workingDir parameter to execProcess and test ( #9549 )
...
* Add workingDir parameter to execProcess
* Fix tests/stdlib/tosproc.nim compile error
* Suppress output from tosproc.nim
2018-11-26 10:28:44 +01:00
Constantine Molchanov
3f3aee4078
Added cgi.readData. Add test for cgi module. ( #9645 )
...
Added cgi.readData. Add test for cgi module.
2018-11-26 10:27:13 +01:00
Araq
0c0f9ba974
Windows: disabled tests
2018-11-23 11:58:32 +01:00
Arne Döring
523ca76c4d
eyewash
2018-11-23 11:58:31 +01:00
Arne Döring
534601637a
more tests fixed
2018-11-23 11:58:29 +01:00
Arne Döring
9c2365d5c2
activated more tests, allow input in test spec
2018-11-23 11:58:28 +01:00
Arne Döring
e012eb1001
updated tests to be executed
2018-11-23 11:58:28 +01:00
Arne Döring
8ea72bdcea
delete old cruft
2018-11-23 11:58:28 +01:00
Araq
6279b0587a
make tests green again
2018-11-16 19:54:49 +01:00
Araq
3f6168b337
removes deprecated T/P types
2018-11-16 13:27:56 +01:00
pgkos
b9cdad7497
times - remove unneeded negative sign when parsing formats z and zz ( #9631 )
...
* fix wrong utcoffset sign for formats z and zz
* add tests for the timezone offset formats
2018-11-06 22:29:23 +01:00
rec
9899c4525c
Add parsing empty attribs to htmlparser ( #9559 )
2018-10-30 06:58:39 +01:00
Miran
1b17c9f693
More descriptive names of test files ( #9531 )
...
* change generic `tissues` name to more specific
* change `tvarious` to more specific names
2018-10-29 17:07:27 +01:00
rec
9fd0a71e4d
Make htmlparser parse unquoted attrib values ( #9537 )
...
Fixes #6154
2018-10-29 11:10:00 +01:00
Utwo
a68a4bfaf2
Remove install.txt and readme.txt ( #9521 )
...
* Remove install.txt and readme.txt
* Refactor tests that use readme.txt
* Tests open own source code
2018-10-28 13:36:52 +01:00
xzfc
95a60dc780
Fix strscans.scanp ( #9518 )
...
* strscans: fix typo
* strscans: fix #9240
* strscans: add tests
2018-10-28 13:35:30 +01:00
zah
ee54d6977b
Parse the usage of the SQL in operator properly ( #9527 )
...
Also adds a `treeRepr` renderer for the SQL nodes.
2018-10-28 13:34:57 +01:00
Vindaar
557fa85e02
add test case
2018-10-20 20:36:32 +02:00
Miran
9fb212cfdf
merge stdlib tests ( #9439 )
2018-10-19 11:43:35 +02:00
Vindaar
82a1576263
fix #9394 by replacing fmt with strutils.% ( #9417 )
...
* fix #9394 by replacing `fmt` with normal string append
Until issue #7632 is fixed, use string append.
* use `strutils.%` instead of normal string add
2018-10-18 14:47:47 +02:00
Timothee Cour
3bef851143
fix #8225 os.isHidden was buggy on posix ( #8315 )
...
* fix #8225 isHidden was broken on posix
* scope rest of tos.nim under blocks to avoid variable scope bugs
2018-10-15 00:22:34 +02:00
Vindaar
9cdd9be5a5
fixes #8916 by fixing typeinfo and marshal. ( #9341 )
...
* fixes #8916 by removing `tyString`, `tySeq`, mod. marshal, typeinfo
Need to check in `typeinfo` for nil of the underlying pointer.
In marshal don't have to check for nil of seq anymore.
* remove reference to string, sequence in `isNil` doc string
2018-10-13 08:47:58 +02:00
Jacek Sieka
97738a4f28
Testament pre parallel ( #9137 )
...
* testament: move to root dir (it's not a test)
* osproc: fix process index passed to afterRunEvent for parallel runs
it was passing the index of the process, not index of all commands
* testament: complete file move
2018-10-12 17:27:47 +02:00
Konstantin Molchanov
fde4a086c5
8684 add shortcut sort procs ( #9174 )
...
* Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs.
* Add tests for sort, sorted, and isSorted procs from algorithm module.
* Merge sort tests into tsortcall.nim, remove tsort.nim.
* Stdlib: Algorithm: Add shortcut versions of sort, sorted, and isSorted procs.
* Add tests for sort, sorted, and isSorted procs from algorithm module.
* Merge sort tests into tsortcall.nim, remove tsort.nim.
2018-10-11 22:51:23 +02:00
xzfc
8ed3dac1dc
Fix tests on NixOS ( #9209 ) ( #9285 )
...
* Replace `/bin/sleep` with just `sleep`, i.e. use environment variable
`$PATH` to locate binary.
* Replace `/usr/share/zoneinfo` with `$TZDIR` when it is defined,
fallback to hardcoded path otherwise. This is the same behavior that
Glibc2 normally have, see man 3 tzset.
2018-10-10 22:47:08 +02:00
Timothee Cour
a98b1a7764
fix #8341 : add lastPathPart ( #9116 )
2018-10-09 19:27:31 +02:00
alaviss
dad290accb
os: use unlink() to remove file ( #9220 )
...
removeFile() behavior should now be consistant between Windows and POSIX
Fixes #9200
2018-10-09 15:37:36 +02:00
Yasuhiro Horimoto
aa8249d177
Fix #9126 : use splitPath instead of substr
2018-09-30 23:20:14 +09:00
LemonBoy
a27429304e
Convert *_family fields to cushort
...
Fixes #9008
2018-09-19 12:33:11 +02:00
Vindaar
72a65c43a7
add test case
2018-09-17 19:56:42 +02:00
Andreas Rumpf
0330fb2e13
fixes #8911
2018-09-16 12:28:43 +02:00
Araq
4ab9953787
fixes #8961
2018-09-14 11:40:43 +02:00
Araq
7cea0c1765
closes #5252
2018-09-03 10:16:11 +02:00
gemath
f26ed1d540
Add interpreting event parser proc to pegs module. ( #8075 )
...
* Added simple interpreting event parser to pegs module.
* Has side-effects problem.
* Macro solution works.
* First flat callback test works.
* Fixed namespace pollution.
* Added handler for pkChar.
* Replaced event parser test.
* Started extensive docs.
* 'callback' to 'handler' renaming part 1.
* Renaming 'callback' to 'handler' part2, completed comments.
* Fixed exported API pollution.
* Added more event handler hooks, fixed comments.
* Changed event parser addition entry.
* Fixed variable names and comments.
* Enhanced comment.
* Leave handlers are not called for an unsuccessful match.
* The three varieties of back-reference matches are processed in separate
of-clauses now.
* Improved hygiene and (almost) eliminated exports.
* Trying to fix CI test breakage by eliminating export.
* Trying to fix CI test breakage by eliminating exports.
* Re-activated leave handler code execution for unsuccessful matches.
* Eliminated the last export statement (with a funny smelling hack).
* Make sure leave handler code is executed for all unsuccessful matcher
cases.
* Replaced local unicode.`==` with export.
2018-08-24 20:13:37 +02:00
Oscar Nihlgård
1d93991929
Cleanup ttimes ( #8714 )
...
* Refactor fromWinTime
* Cleanup ttimes
2018-08-22 17:20:41 +02:00
Dmitry Atamanov
b75808c7d9
Fixes ropes regressions due to the not-nil strings ( #8687 )
2018-08-20 16:55:22 +02:00
Oscar Nihlgård
33ed8f7e73
times.Timezone changes ( #8527 )
...
* Use floorDiv in times.nim
* New implementation of times.Timezone
* Tweak doc comments
* Fix typo
2018-08-17 11:12:58 +02:00
Andreas Rumpf
0da91aa744
changes how the now illegal 'string == nil' comparison is detected
2018-08-15 16:31:56 +02:00
Araq
a0cde8cee6
Merge branch 'devel' into araq-misc
2018-08-13 20:16:18 +02:00
Andreas Rumpf
7f49364fd0
make more tests green
2018-08-13 12:29:03 +02:00
Iván Montes
ee29370f60
Fixed 7478: splitLines keepEol option ( #8621 )
2018-08-13 11:42:50 +02:00
Timothee Cour
43f634db8d
fixes #8519 ; implements T.distinctBase to reverse T = distinct A ( #8531 )
2018-08-10 09:20:14 +02:00
Timothee Cour
674bd7bfad
fix wrong arch defined(osx) ( #8492 )
2018-08-02 01:19:29 +02:00
andri lim
2e6d073be1
fixes #8468 , stdlib.encodings.convert not crash anymore on windows ( #8470 )
2018-07-30 12:04:49 +02:00
andri lim
f92d61b1f4
fixes #8037 , json.to support object with distinct types ( #8086 )
...
* add distinct types to json 'to' macro
* fix json 'to' macro and add more test
2018-07-19 16:38:40 +01:00
Oscar Nihlgård
3b310e91cd
New implementations of times.parse & times.format ( #8094 )
2018-07-09 20:04:25 +02:00
Federico Ceratto
d65429d857
Add normalizePath and tests
2018-07-06 20:21:39 +01:00
Andreas Rumpf
963f431443
Merge branch 'araq-devel' of github.com:nim-lang/Nim into araq-devel
2018-07-06 17:27:02 +02:00
Andreas Rumpf
32230ffe31
make tests green again
2018-07-06 17:26:45 +02:00
Araq
8bcaee1fdf
make tmemfile2 work again
2018-07-06 15:53:32 +02:00