summary refs log tree commit diff stats
path: root/tests/system
Commit message (Collapse)AuthorAgeFilesLines
* properly deprecate parseopt2 (#10452)Miran2019-01-251-2/+2
|
* add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵Timothee Cour2019-01-081-0/+11
| | | | | | | | | | | | | which leaked implementation detail (#10070) * add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2) fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim * Note: isNamedTuple is useful in other places, eg #10010 (comment) * move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim * remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work
* fix bug in doAssertRaises when exception==Exception (#10172)Timothee Cour2019-01-041-0/+12
| | | | | * fix bug in doAssertRaises when exception==Exception * add testcase for doAssertRaises
* revives: Move typetraits.`$` to system. Fixes #5827 (#10071)Timothee Cour2018-12-301-0/+14
| | | | | | * Move typetraits.`$` to system. Fixes #5827. * revive PR; adjust code to make sure everything works and add tests * fix tests/concepts/tstackconcept.nim * address comments
* testament: joinable is now an explicit concept of a test specAndreas Rumpf2018-12-114-0/+8
|
* lots of small changesArne Döring2018-12-111-1/+1
|
* megatest can be executedArne Döring2018-12-111-1/+4
|
* cleanup tests; don't use non-working 'msg' spec fieldAraq2018-11-231-1/+1
|
* more eyewashArne Döring2018-11-233-2/+9
|
* disable tio.nim, it just causes problemsArne Döring2018-11-231-0/+1
|
* maybe this time?Arne Döring2018-11-231-9/+17
|
* hopefully this time the tests will compile on the serverArne Döring2018-11-231-3/+0
|
* updated tests to be executedArne Döring2018-11-231-4/+7
|
* make run the default action of a test in testerArne Döring2018-11-231-4/+0
|
* fix segfault when calling shallow() on an empty string (#9782) [backport]Ștefan Talpalaru2018-11-221-0/+7
| | | | | | | | | shallow() casts its string argument to a seq and then tries to access its fields. Guess what happens when that string is nil, which seems to be the representation of an empty string (both the default value and an explicitly assigned ""). Segfault encountered when running "ntags -R ." on a large project. The relevant line: https://bitbucket.org/nimcontrib/ntags/src/a1c62c38e539877c105fbe4e08d06b76232f8017/ntags.nim#lines-125
* Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. (#9316)c-blake2018-10-121-0/+5
| | | | | | | | | | | * Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. `ptr array[0,T]` for some unchecked type already works but A) `UncheckedArray` seems to be the intended future way for this kind of access, and B) essentially all use cases will have a `ptr` for that kind of array source and this call signature lets callers drop the trailing `[]` corresponding to that `ptr` deref. This PR relates to issue https://github.com/nim-lang/Nim/issues/9001 . * Add a test for toOpenArray() for UncheckedArray[T]s.
* fixes #9281Araq2018-10-111-0/+15
|
* fixes #8847Araq2018-09-031-1/+9
|
* make tests green againAndreas Rumpf2018-08-181-1/+1
|
* fixes more nil handling regressionsAraq2018-08-131-7/+3
|
* deprecate isNil for strings and seqsAraq2018-08-081-1/+1
|
* fixed #7894 (#8496)jcosborn2018-08-016-30/+60
| | | make system tests run properly
* VM: accessing the string terminator is not allowed anymore; cleanup ↵Andreas Rumpf2018-07-171-7/+10
| | | | tests/system/tostring.nim
* Add proc toOpenArray[byte] for strings (#7820)Dmitry Atamanov2018-07-071-0/+16
|
* test negative range arraynitely2018-06-061-0/+14
|
* check bounds instead of indexnitely2018-06-051-0/+25
|
* Added $ for openarrays. Fixes #7940.data-man2018-06-011-0/+1
|
* correct comparisons for nil strings/seqsAndreas Rumpf2018-04-281-0/+56
|
* nil in string concats does not produce crashes anymoreAndreas Rumpf2018-04-271-0/+25
|
* added toOpenArray builtin for zero-copy slices; syntax sugar yet to comeAraq2018-03-241-1/+28
|
* fix allocator corruption for large sizes (#7338)jcosborn2018-03-174-5/+47
| | | | | | * fix allocator corruption for large sizes * allow large chunks to coalesce and added test case * use correct constants in MaxBigChunkSize
* Fixes #7121 (#7148)pqflx32018-01-311-1/+24
| | | | | | * Replace ftell and fseek with (windows) _ftelli64, _fseeki64 and (posix) ftello, fseeko * disable large file test
* Improved collection-to-string behavior (#6825)Fabian Keller2017-12-141-4/+4
|
* fixes #6710Andreas Rumpf2017-11-081-0/+4
|
* make tests green againAraq2017-11-011-2/+2
|
* Implementation of high/low for SomeReal (#6570)Fabian Keller2017-10-301-0/+18
|
* make tests green again; closes #5861Andreas Rumpf2017-10-101-1/+1
|
* reverted genEchoArne Döring2017-08-081-1/+2
|
* don't filter '\0' characters in string generationArne Döring2017-08-071-1/+2
|
* prevent null characters in $ on collections of charArne Döring2017-07-241-3/+1
|
* made toString test assert basedArne Döring2017-07-241-33/+21
|
* removed newString proc again, reverted some unnecesary changesArne Döring2017-07-241-9/+3
|
* arrays can now be printedArne Döring2017-07-241-2/+31
|
* Handle different enum sizes in reprAux (#5207)Brandon Pickering2017-01-111-0/+25
|
* fixes #4818Araq2016-12-182-1/+21
|
* reverted deepcopy fix for nowAndreas Rumpf2016-11-241-0/+1
|
* disallow recursive module dependenciesAraq2016-11-231-0/+0
|
* added test case for deepcopyAndreas Rumpf2016-11-191-0/+94
|
* Fixes #2889. Merges *tostring tests in tests/system.Dominik Picheta2015-09-233-31/+34
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-1/+1
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +