aboutsummaryrefslogtreecommitdiff
path: root/tests/core/strings
Commit message (Collapse)AuthorAgeFilesLines
* Vectorize `strings.prefix_length`.Jeroen van Rijn2025-05-311-1/+50
| | | | Also add `strings.common_prefix`.
* Add tests for new safe `to_cstring`Feoramund2025-02-271-0/+43
|
* Fix the unused variable errorsAdam Zadrożny2024-12-041-2/+2
|
* improve `strings.index_multi`Adam Zadrożny2024-12-041-0/+19
| | | | | | | There's no point searching for substrings after lowest_index, so let's not. This significantly improves performance on long strings.
* Merge pull request #4192 from laytan/strings-substring-rune-wiseJeroen van Rijn2024-09-031-1/+32
|\ | | | | strings: add `substring`, `substring_to` and `substring_from`
| * strings: add `substring`, `substring_to` and `substring_from`Laytan Laats2024-09-031-1/+32
| |
* | strings.cut without allocation.Jeroen van Rijn2024-09-031-6/+7
|/
* Port `tests\core\strings`Jeroen van Rijn2024-06-021-62/+24
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-1/+1
|
* fix strings.last_index_any for single charWalther Chen2023-12-181-0/+12
|
* Document return values of strings and add allocator errors whereLucas Perlind2023-04-071-12/+26
| | | | possible
* Add tests for string case conversionJeroen van Rijn2023-03-241-0/+46
|
* [windows] Fix leak in `glob`.Jeroen van Rijn2022-03-291-1/+1
|
* [strings] Improve `cut`, add tests for it.Jeroen van Rijn2022-03-271-1/+28
|
* [varint] Add LEB128 decoding + testsJeroen van Rijn2022-03-081-34/+32
| | | | Also make tests in general less spammy: Don't print [PASS] for each successful test, only report failures and progress.
* [tests] Make test runners exit with errorlevel 1 if a test fails.Jeroen van Rijn2022-03-031-0/+4
|
* Custom test runner.Jeroen van Rijn2021-09-081-5/+39
|
* Fix strings.index_any on small stringsRicardo Silva2021-09-071-0/+29