summary refs log tree commit diff stats
path: root/tests/stdlib/tstring.nim
Commit message (Collapse)AuthorAgeFilesLines
* stdlib tests now check refc too (#21664)ringabout2023-04-211-0/+1
| | | | | | | | | | | * stdlib tests now check refc too * typo * fixes line numbers * disable cpp * do not touch
* fixes #20026; marks system procs which can raise defects (#20864)ringabout2022-11-221-1/+0
| | | | | | | | | * marks system procs which can raise defects * add tests * add more systemRaisesDefect * add comment
* make more standard libraries work with `nimPreviewSlimSystem` (#20343)ringabout2022-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * make more standard libraries work with `nimPreviewSlimSystem` * typo * part two * Delete specutils.nim * fixes more tests * more fixes * fixes tests * fixes three more tests * add formatfloat import * fix * last
* defaults to ORC (#19972)ringabout2022-09-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * defaults to Orc * bootstrap using refc * use gc * init orc defines * unregister orc * fix gc * fix commands * add prepareMutation for orc * enable deepcopy for orc * prepareMutation * more fixes * some cases * bug #20081 * partial fixes * partial fixes * fixes command line * more fixes * build Nim with refc * use gc * more fixes * rstore * orc doesn't support threadpool * more shallowCopy * more fixes * fixes unsafeNew * workarounds * small * more fixes * fixes some megatest * tcodegenbugs1 refc * fxies megatest * build nimble with refc * workaround tensordsl tests * replace shallowCopy with move * fixes action * workaround * add todo * fixes important packages * unpublic unregisterArcOrc * fixes cpp * enable windows Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
* cleanup tests/stdlib/tstring.nim (#17158)Timothee Cour2021-02-241-98/+82
| | | | | | | * cleanup tests/stdlib/tstring.nim * cleanup tests/stdlib/tstring.nim * cleanup rest of test
* fix #16555, fixes #16405: len, high honors '\0' for cstring in vm (#16610)Timothee Cour2021-01-111-1/+33
|
* fix nim js cmp fails at CT (#16473)flywind2020-12-271-15/+21
|
* make var string return var char w/ BackwardsIndex (#15461)hlaaftana2020-11-121-0/+7
| | | | | | | | * make var string return var char w/ BackwardsIndex fixes #14497 * work around VM bug * properly workaround again
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-281-1/+1
| | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here.
* distinctBase type trait for distinct types (#13031)cooldome2020-01-081-1/+16
|
* require errormsg to be specified before file.Arne Döring2018-12-111-1/+0
|
* cmp(x, y: string) now uses memcmp rather than strcmp (#6869) (#6968)Mathias Stearn2017-12-241-0/+20
|
* Fixes #6223.Dominik Picheta2017-11-281-0/+4
|
* fix string slice & splice (#5311)Parashurama2017-02-011-0/+55
code fixes courtesy of @memophen