1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/toml/tests
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
..
testdata toml: support multi-level map keys in arrays-of-tables (#12641) 2021-12-02 11:19:45 +02:00
alexcrichton.toml-rs-tests_test.v os,tools: add os.vtmp_dir() 2022-11-03 10:19:51 +02:00
array_of_tables_1_level_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
array_of_tables_2_level_test.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
array_of_tables_array_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
array_of_tables_edge_case_1_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
array_of_tables_edge_case_2_test.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
burntsushi.toml-test_test.v os,tools: add os.vtmp_dir() 2022-11-03 10:19:51 +02:00
compact_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
crlf_test.v all: change index expr returning optional to result too (#16097) 2022-10-19 21:04:16 +03:00
datetime_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
default_to_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
encode_and_decode_test.v checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932) 2022-10-02 22:39:11 +03:00
iarna.toml-spec-tests_test.v os,tools: add os.vtmp_dir() 2022-11-03 10:19:51 +02:00
json_encoding_test.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
json_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
key_test.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
large_toml_file_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
nested_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
quoted_keys_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
reflect_test.v toml: support [toml: '...'] attributes (#15497) 2022-08-22 20:39:55 +03:00
spaced_keys_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
strings_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
table_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
toml_bom_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
toml_memory_corruption_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
toml_test.v os,tools: add os.vtmp_dir() 2022-11-03 10:19:51 +02:00
toml_types_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00
value_query_test.v toml: use toml.parse_text and toml.parse_file in the tests 2022-03-18 23:32:06 +02:00