yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' ( #16428 )
2022-11-15 16:53:13 +03:00
Delyan Angelov
f427a5241a
os,tools: add os.vtmp_dir()
...
Use it to consistently place all temporary files created by tests in a overridable folder specific to the user, that is easy to cleanup later.
NOTE: os.temp_dir() on macos returns `/tmp`, and using `/tmp/v` is a problem when multiple unix users are trying to access/create/write to it.
2022-11-03 10:19:51 +02:00
Subhomoy Haldar
43b9a716c5
builtin,strconv: append ".0", to float string representations, to ensure clarity ( #16079 )
2022-10-17 15:41:07 +03:00
yuyi
f6844e9766
all: change optional to result of io ( #16075 )
2022-10-16 09:28:57 +03:00
yuyi
41dbd12bc4
tests: make error handling the same as the main function ( #15825 )
2022-09-21 19:45:43 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! ( #14366 )
2022-05-13 06:56:21 +03:00
Alexander Medvednikov
36ec47cd20
all: replace "NB:" with "Note:" (docs/comments)
2022-03-06 20:01:22 +03:00
Ned
437fa02f27
x.json2: add customized JSON output capability via Encoder ( #13654 )
2022-03-04 14:39:23 +03:00
Tim Basel
9d0a5942ac
builtin: change IError msg
and code
to methods + fix vlib, add a deprecation notice for the old usages ( #13041 )
2022-02-11 15:52:33 +02:00
Delyan Angelov
e03d52d322
toml: improve SKIP reporting, fix formatting
2022-01-03 13:25:06 +02:00
Delyan Angelov
ee858568ff
toml: ignore CRLF just like LF in line comments, support VTEST_HIDE_OK=1 in tests.
2022-01-03 12:54:16 +02:00
Larpon
4383cf7de5
toml: add iarna/toml-spec-tests
to CI tests ( #12583 )
2021-11-26 19:15:01 +02:00
Larpon
f825306cff
toml: workaround #9507 ( #12566 )
2021-11-24 20:36:15 +02:00
Larpon
ff95cf18d4
toml: expand short date time milliseconds in decoder ( #12564 )
2021-11-24 14:49:23 +02:00
Larpon
1be6aed16e
toml: support checking and decoding quoted keys ( #12552 )
2021-11-23 16:59:07 +02:00
Larpon
0779b5fd8e
toml: fix implicit array allocation ( #12553 )
2021-11-23 16:51:24 +02:00
Larpon
49cd1b3d59
toml: make value of +nan
/-nan
decode to nan
( #12542 )
2021-11-23 16:23:16 +02:00
Larpon
e9efed02f0
toml: fix decoding most large number values ( #12541 )
2021-11-23 13:23:16 +02:00
Larpon
3f0e532660
toml: fix unicode and escape value decoding ( #12534 )
2021-11-23 11:02:43 +02:00
Larpon
f1dd0e3355
toml: add value decoding ( #12521 )
2021-11-20 19:48:44 +02:00
Larpon
a894a6cf36
toml: fix parsing of alphanumeric keys ( #12517 )
2021-11-19 20:34:21 +02:00
Larpon
96554fad71
toml: improve number conversion ( #12509 )
2021-11-18 19:46:19 +02:00
Larpon
7fba3e65e9
toml: support empty tables ( #12504 )
2021-11-18 15:39:44 +02:00
Larpon
24ea15c8f0
toml: remove fixed value tests from skip list ( #12503 )
2021-11-18 13:57:14 +02:00
Larpon
3b612899bf
toml: eat first nl if present in multiline strings ( #12496 )
2021-11-17 23:48:29 +02:00
Larpon
2f5fae06ee
toml: fix a few string value tests ( #12493 )
2021-11-17 20:54:48 +02:00
Larpon
dbf469e000
toml: move to_burntsushi functionality ( #12492 )
2021-11-17 17:25:50 +02:00
Larpon
bd9ac598f7
toml: add support for validation of structure and values ( #12481 )
2021-11-17 08:30:40 +02:00
Larpon
cbdb270d2f
toml: upgrade the module to 100% BurntSushi test suite parsing compatibility ( #12466 )
2021-11-15 15:36:14 +02:00
Larpon
9c508237bd
toml: support for [a."b.c"]
quoted keys ( #12444 )
2021-11-13 11:17:35 +02:00
Larpon
4b42dcad8e
toml: support complex array-tables-array constructs ( #12438 )
2021-11-11 18:30:34 +02:00
Larpon
c8cb1bf6b4
toml: check for single-key reassignment in inline tables ( #12436 )
2021-11-11 14:57:11 +02:00
Larpon
35f00c9f91
toml: check for text after comma in arrays ( #12435 )
2021-11-11 14:55:51 +02:00
Larpon
69fa87ad24
toml: add date and time checks ( #12427 )
2021-11-11 07:27:41 +02:00
Larpon
66e53279c2
toml: check for more wrong line ending cases ( #12424 )
2021-11-10 15:03:51 +02:00
Larpon
d2d67e9f4d
toml: add new inline-table duplicate-key test to skip list ( #12399 )
2021-11-06 15:19:40 +02:00
Larpon
24cd619ff8
toml: fix parsing array of tables ( #12388 )
2021-11-05 12:08:40 +02:00
Larpon
db65b65f3c
toml: disallow spacing between (array of tables) key syntax ( #12382 )
2021-11-05 11:29:25 +02:00
Larpon
1999fb9a95
toml: remove some skipped tests related to recent formatting update ( #12380 )
2021-11-04 14:27:14 +02:00
Larpon
fc7f4c5b1f
toml: disallow multiline keys ( #12381 )
2021-11-04 14:26:25 +02:00
Larpon
1a54817c81
toml: parse formatting ( #12374 )
2021-11-04 09:15:50 +02:00
Larpon
5ecaa160a7
toml: fix paths in skipped tests for Windows compatibility ( #12323 )
2021-10-28 15:56:56 +03:00
Larpon
bc3827ae15
toml: improve array parsing ( #12322 )
2021-10-27 20:26:33 +03:00
Larpon
d53bb54c0a
toml: implement checks for UTF-8 validity ( #12313 )
2021-10-27 15:28:46 +03:00
Larpon
1b9eef74aa
toml: improve inline-table parsing ( #12307 )
2021-10-26 17:00:41 +03:00
Larpon
9a3967bd7d
toml: improve comment support ( #12305 )
2021-10-26 16:58:05 +03:00
Larpon
52df19ef61
toml: check for invalid placement of underscores around exponent ( #12303 )
2021-10-26 13:49:25 +03:00
Delyan Angelov
06796a6119
ci,toml: add the new float/trailing-us-exp.toml to the ignored skip list for now
2021-10-26 10:42:40 +03:00
Larpon
8a4756819a
toml: disallow unclosed arrays ( #12273 )
2021-10-22 20:30:29 +03:00
Larpon
8273c0582b
toml: check for illegal characters, fix all related skipped tests ( #12270 )
2021-10-22 19:57:32 +03:00