1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

17 Commits

Author SHA1 Message Date
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
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
ebfacca252
toml: fix bug in unicode decoding (#12643) 2021-12-02 11:19:12 +02:00
Larpon
b3aedff3f8
toml: convert yaml value checks in iarna test suite (#12629) 2021-12-01 14:43:15 +02:00
Larpon
7d9028db56
toml: add more checks for table redeclarations (#12615) 2021-11-30 15:01:00 +02:00
Larpon
65e9503556
toml: check for immutable tables (#12612) 2021-11-29 15:10:23 +02:00
Larpon
0fc47b50a2
toml: fix date-time and time ms test inconsistency (#12593) 2021-11-28 12:42:32 +02:00
Larpon
1d8ece7ac0
toml: fix, test and optimize nan and inf values (#12592) 2021-11-27 21:26:28 +02:00
Larpon
22043f2df1
toml: fix float checker bug for -0.01 (#12590) 2021-11-27 21:03:26 +02:00
Larpon
d52b62a4f4
toml: improve parsing of bare keys to include - and _ (#12588) 2021-11-27 15:46:05 +02:00
Larpon
4383cf7de5
toml: add iarna/toml-spec-tests to CI tests (#12583) 2021-11-26 19:15:01 +02:00