aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-287-8/+8
|
* Merge pull request #3006 from hwchen/hwchen/last_index_anyJeroen van Rijn2024-01-081-0/+12
|\ | | | | fix strings.last_index_any for single char
| * fix strings.last_index_any for single charWalther Chen2023-12-181-0/+12
| |
* | Update core:encoding to Unicode 15.1 table.Jeroen van Rijn2024-01-022-104/+104
| |
* | add other failing test and fix themLaytan Laats2023-12-181-1/+12
| |
* | switch tests aroundLaytan Laats2023-12-181-1/+1
| |
* | add failing test for runtime arena edge caseLaytan Laats2023-12-183-1/+71
|/
* Used `strings.builder_reset` instead of `clear` for the string builderHector2023-11-251-4/+6
|
* Updated to tabs and used provided test methods.Hector2023-11-251-33/+37
|
* Binary search improvementsHector2023-11-253-3/+85
| | | | | | | | Modified the algorithm so that the index is either the location of the element if found or the index at which to insert the element to maintain sorted order. Also added some tests to verify the above claim.
* Merge pull request #2939 from laytan/allow-larger-thread-poly-dataJeroen van Rijn2023-11-243-1/+93
|\ | | | | Allow larger thread poly data
| * fix self_cleanup causing join to faillaytan2023-11-201-6/+10
| |
| * Fix shadowingLaytan Laats2023-11-151-12/+12
| |
| * Allow larger thread poly dataLaytan Laats2023-11-153-1/+89
| | | | | | | | | | | | | | | | The poly data currently has the restriction of being less than a pointer's size, but there is much more space in the `Thread.user_args` array which can be utilized, this commit allows you to pass types that are larger than pointer length as long as the total size of the poly data is less than that of the `Thread.user_args`.
* | core/crypto: Exile keccak, md5 and sha1 to legacyYawning Angel2023-11-172-6/+6
| | | | | | | | | | | | In an perfect world these would just be removed, but the world is imperfect, and people are forced to interact/interface with things that are broken.
* | core/crypto/whirlpool: Remove, historical/exoticYawning Angel2023-11-172-56/+0
| |
* | core/crypto/tiger: Remove, historical/exoticYawning Angel2023-11-172-174/+0
| |
* | core/crypto/streebog: Remove, exoticYawning Angel2023-11-172-62/+0
| |
* | vendor/botan/skein512: Remove, use SHA-3Yawning Angel2023-11-171-31/+0
| |
* | core/crypto/ripemd: Remove, historical/exoticYawning Angel2023-11-172-107/+0
| |
* | core/crypto/md4: Remove, badly brokenYawning Angel2023-11-172-42/+0
| |
* | core/crypto/md2: Remove, badly brokenYawning Angel2023-11-171-21/+0
| |
* | core/crypto/jh: Remove, use SHA-3Yawning Angel2023-11-171-61/+0
| |
* | core/crypto/haval: Remove, badly brokenYawning Angel2023-11-171-171/+0
| |
* | core/crypto/groestl: Remove, use SHA-3Yawning Angel2023-11-171-61/+0
| |
* | core/crypto/gost: Remove, exoticYawning Angel2023-11-172-44/+0
| |
* | core/crypto/blake: Remove, use BLAKE2b/BLAKE2sYawning Angel2023-11-171-61/+0
| |
* | core/crypto/sha2: Add SHA-512/256Yawning Angel2023-11-171-0/+16
|/
* Fix net.split_urlJeroen van Rijn2023-11-091-0/+5
| | | | Resolves issue #2924
* Delete test artifact.Jeroen van Rijn2023-11-041-0/+0
|
* Work around LLVM idiocy.Jeroen van Rijn2023-11-042-3/+9
|
* Add math.pow2_f{16,32,64}, fast floating point 2^x where x is an integer.Jeroen van Rijn2023-11-043-3/+74
|
* Temporarily disable RTTI test on Windows.Jeroen van Rijn2023-10-312-2/+2
|
* Add test for RTTIJeroen van Rijn2023-10-303-8/+113
|
* testing: add test for `Out_Of_Memory` returnRickard Andersson2023-10-021-0/+44
|
* Make core:net test os.exit(1) on failure.Jeroen van Rijn2023-09-301-0/+5
|
* Allow any order of query strings in net.join_url tests.Jeroen van Rijn2023-09-301-24/+98
|
* Change large math/big test literals to hex.Jeroen van Rijn2023-09-302-5/+6
| | | | | | | | In September 2022, the Python team addressed a possible DoS issue converting big integers to and from base 10 strings: https://github.com/python/cpython/issues/95778 Converting to/from base 10 is a quadratic operation, so they limited it to 4300 digits: https://discuss.python.org/t/int-str-conversions-broken-in-latest-python-bugfix-releases/18889/83 Github CI still uses an old Python version which parsed our test suite just fine. This patch converts them to hex literals to ensure our test doesn't break when Github does update to a non-vulnerable Python version released after September 2022.
* Add test for utf8 multibyte stringsAbdelrahman Farid2023-09-191-0/+8
|
* use KiB etc. instead of KBLaytan Laats2023-09-121-14/+14
|
* fix test caseLaytan Laats2023-09-011-1/+1
|
* actually run the testLaytan Laats2023-09-011-1/+2
|
* Add formatting of bytes into the best unit of measurementLaytan Laats2023-09-012-0/+62
|
* Merge pull request #2669 from laytan/check-disabled-when-generating-parapolydev-2023-08gingerBill2023-08-013-0/+28
|\ | | | | Fix #2666 by checking for disabled when generating parapoly procs
| * Fix #2666 by checking for disabled when generating parapoly procsLaytan Laats2023-07-193-0/+28
| |
* | Keep `-vet` happy by removing `using`gingerBill2023-07-315-143/+99
| |
* | Keep -vet happygingerBill2023-07-312-18/+15
| |
* | Remove `using` where easily possiblegingerBill2023-07-315-26/+21
| |
* | Fix #2684Jeroen van Rijn2023-07-281-16/+18
|/
* Fix #2637ramn2023-07-083-0/+15
| | | | where testing.expect_value can't compare nils