Abdelrahman Farid
9ed36445b9
Add test for utf8 multibyte strings
2023-09-19 22:18:23 +03:00
Laytan Laats
287beaff35
use KiB etc. instead of KB
2023-09-12 16:49:42 +02:00
Laytan Laats
aab2fa1af9
fix test case
2023-09-01 19:53:24 +02:00
Laytan Laats
4cf176de0b
actually run the test
2023-09-01 19:51:53 +02:00
Laytan Laats
735cfcd290
Add formatting of bytes into the best unit of measurement
2023-09-01 19:17:07 +02:00
gingerBill
9453b2387b
Merge pull request #2669 from laytan/check-disabled-when-generating-parapoly
...
Fix #2666 by checking for disabled when generating parapoly procs
2023-08-01 14:45:36 +01:00
gingerBill
be6f355665
Keep -vet happy by removing using
2023-07-31 12:32:30 +01:00
gingerBill
5dba08fb3b
Keep -vet happy
2023-07-31 12:19:25 +01:00
gingerBill
8aa36072fc
Remove using where easily possible
2023-07-31 12:11:17 +01:00
Jeroen van Rijn
683ee75703
Fix #2684
2023-07-28 15:53:39 +02:00
Laytan Laats
74338733ba
Fix #2666 by checking for disabled when generating parapoly procs
2023-07-19 20:27:34 +02:00
ramn
7b89f25818
Fix #2637
...
where testing.expect_value can't compare nils
2023-07-08 23:46:51 +02:00
Laytan Laats
a3e2d90f4c
add test
2023-07-02 23:00:37 +02:00
gingerBill
c8f475174e
Fix tests for -strict-style
2023-06-26 15:51:08 +01:00
gingerBill
b0d801f629
Merge pull request #2582 from ftphikari/master
...
[core:thread] Added self_cleanup flag to properly auto-clean threads
2023-06-21 18:21:48 +01:00
finn
ec32967daa
[check-type] fix faulty #no_nil variants error
...
- when checking the variants of a union type we will skip adding
the variants if we have an unspecialized polymorphic, hence our
union_type variants will be empty and have a count of 0
- so when checking if we violate the #no_nil error, if we are in the
unspecialized polymorphic case and there exists at least one variant
in the original variants then we should not raise this error
- test checks that we do not raise the error anymore, and that we still
detect the #no_nil error in the described circumstances
2023-06-13 22:07:01 +02:00
gingerBill
4c17e2e97e
Merge pull request #2552 from jcmoyer/fix-2466
...
Use compound literal storage for ValueDecl lvals
2023-06-08 12:34:40 +01:00
hikari
dcf4e51787
[core:thread] Added self_cleanup flag to properly auto-clean threads
2023-06-07 19:11:16 +03:00
Lucas Perlind
ebe5636307
Document core:math/rand and add 'possible output'
...
Possible output allows us to just type check a test
and have some sort of output field in the docs but
not actually verify it matches stdout
2023-05-31 09:49:12 +10:00
gingerBill
8b825b23b1
Add missing comma
2023-05-29 15:18:38 +01:00
Laytan Laats
5d54b710e7
fix #2550 json encoding should use surrogate pairs per RFC7159
2023-05-22 17:22:33 +02:00
J.C. Moyer
249f42f054
Add test for #2466
2023-05-21 16:42:48 -04:00
gingerBill
5ec4719124
Merge pull request #2523 from jcmoyer/fix-2056
...
Zero non-diagonal elements when converting to matrix
2023-05-18 11:25:44 +01:00
Jeroen van Rijn
5d2c1b175e
Merge pull request #2541 from laytan/add-hex-and-expand-percent-decoding
...
fix hex.encode and add tests for the package
2023-05-15 22:32:27 +02:00
Laytan Laats
2ab6de8ee4
fix hex.encode and add tests for the package
2023-05-15 20:52:07 +02:00
Yoshihiro Tanaka
59e66ffe49
Add test for net.split_url
2023-05-14 12:15:20 +09:00
Yoshihiro Tanaka
418a0132d0
Join URL queries with &
2023-05-14 12:15:20 +09:00
J.C. Moyer
ada42aa184
Add test for issue #2056
2023-05-09 12:37:12 -04:00
zhibog
60c29e195a
Windows requires the botan-3 naming due to the new release
2023-05-03 21:35:06 +02:00
zhibog
077a611a5e
Add Botan 3.0, comment some tests, due to removed algorithms
2023-05-03 20:55:11 +02:00
Jeroen van Rijn
6fe8692b98
Merge pull request #2445 from Lperlind/documentation/strings_returns
...
Document return values of strings and add allocator errors where possible
2023-04-08 10:05:39 +02:00
Yawning Angel
7fc2081543
core/crypto: Add private attributes for internals
...
These constants and internal routines are not intended for use outside
the actual implementations themselves.
2023-04-08 10:15:00 +09:00
Lucas Perlind
e0d9092df8
Document return values of strings and add allocator errors where
...
possible
2023-04-07 20:39:01 +10:00
Lucas Perlind
0af1b75a02
Re-enable documentation CI and improve error messages
2023-04-07 09:16:50 +10:00
Jeroen van Rijn
f205df1996
Merge pull request #2436 from Lperlind/batch-fail
...
Make tests scripts error if a test fails
2023-04-03 08:56:43 +02:00
Lucas Perlind
c59ad24856
Make tests scripts error if a test fails
...
Additionally fixes tests that were found broken because
of this.
2023-04-03 16:49:14 +10:00
Lucas Perlind
6ff0cc0b40
Enforce example names in documentation
2023-04-01 09:13:15 +11:00
Lucas Perlind
22e0f5ecd0
Add documentation tester and make it apart of CI workflow
2023-03-30 18:14:57 +11:00
Jeroen van Rijn
d337a11e83
Add tests for string case conversion
2023-03-24 11:47:45 +01:00
Jeroen van Rijn
e254581a1b
Apply #shared_nil to Network_Error
2023-03-04 10:39:20 +01:00
Jeroen van Rijn
5c05038af0
Finish cleaning up core_net.
2023-03-03 17:26:44 +01:00
Colin Davidson
28f7f57247
manually start merging core_net
2023-03-01 07:58:30 -08:00
gingerBill
c8f05b7c0c
Merge pull request #2269 from Skytrias/luapattern
...
Add lua pattern matching to core:text with tests
2022-12-22 11:08:10 +00:00
skytrias
e5d0417a6c
folder name changed
2022-12-21 21:36:50 +01:00
Lucas Perlind
f029b4beb1
Add more utility procedures to small array
2022-12-21 13:00:33 +11:00
skytrias
1bea0f3772
fix styling issues and use switches in cases its necessary, add comments to helpers
2022-12-20 15:48:10 +01:00
skytrias
ff7f139fd7
add iter_index and update tests to use easier matcher setup
2022-12-20 12:59:32 +01:00
skytrias
eb5523d5d3
case insensitive helper call
2022-12-18 23:11:23 +01:00
skytrias
3f4bbbec29
add proper unicode walking
2022-12-18 23:11:23 +01:00
skytrias
70bd220f34
balanced string, frontier pattern, gsub_with and their tests added
2022-12-18 23:11:23 +01:00