v/vlib/v/fmt/tests
Delyan Angelov 35df792c05 vfmt: fix `#include "@VROOT/path/x.h"` 2020-07-21 14:26:49 +03:00
..
anon_fn_expected.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
anon_fn_input.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
array_init_expected.vv fmt,vet: handle `var in [single_value]` (#5882) 2020-07-19 19:58:34 +02:00
array_init_input.vv fmt,vet: handle `var in [single_value]` (#5882) 2020-07-19 19:58:34 +02:00
array_init_keep.vv all: make comment expressions + fix vfmt array init (#5851) 2020-07-17 19:13:22 +02:00
array_newlines_keep.vv all: make comment expressions + fix vfmt array init (#5851) 2020-07-17 19:13:22 +02:00
array_slices_expected.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
array_slices_input.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
asserts_keep.vv vmft2: support for multiline comments, CompIf, AssertStmt, octal literals 2020-03-24 22:18:58 +01:00
blocks_expected.vv fmt: split tests 2020-03-08 15:57:16 +01:00
blocks_input.vv fmt: split tests 2020-03-08 15:57:16 +01:00
c_struct_init_keep.vv vfmt: add _keep.vv tests for the recent fixes, to prevent regressions 2020-07-02 17:50:21 +03:00
cast_expected.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
cast_input.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
char_literal_backtick_keep.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
comments_expected.vv fmt: allow for comments in call args and if expressions branches (#5871) 2020-07-20 17:48:33 +03:00
comments_input.vv fmt: allow for comments in call args and if expressions branches (#5871) 2020-07-20 17:48:33 +03:00
comments_keep.vv fmt: allow for comments in call args and if expressions branches (#5871) 2020-07-20 17:48:33 +03:00
concat_expr_expected.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
concat_expr_input.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
conditional_compilation_keep.vv vfmt: fix eating ? in `$if x ? {}`, missing newline in `__global ...` 2020-05-01 12:29:23 +03:00
conditions_expected.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
conditions_input.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
consts_expected.vv all: make comment expressions + fix vfmt array init (#5851) 2020-07-17 19:13:22 +02:00
consts_input.vv fmt: array_init: use line breaks of first elements in every hierarchy (#5777) 2020-07-09 22:36:49 +02:00
enum_comments_keep.vv vfmt: add _keep.vv tests for the recent fixes, to prevent regressions 2020-07-02 17:50:21 +03:00
enums_expected.vv fmt: split tests 2020-03-08 15:57:16 +01:00
enums_input.vv fmt: split tests 2020-03-08 15:57:16 +01:00
expressions_expected.vv fmt: force break in front of long unbreakable parts, avoid very small sub-expressions 2020-06-25 22:24:28 +02:00
expressions_input.vv fmt: force break in front of long unbreakable parts, avoid very small sub-expressions 2020-06-25 22:24:28 +02:00
file_with_just_imports_keep.vv vfmt: turn off module is imported but never used for vfmt 2020-07-11 15:03:37 +03:00
functions_expected.vv fmt: use the new `mut` syntax in args 2020-05-06 12:43:46 +02:00
functions_input.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
go_stmt_expected.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
go_stmt_input.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
goto_expected.vv fmt: split tests 2020-03-08 15:57:16 +01:00
goto_input.vv fmt: split tests 2020-03-08 15:57:16 +01:00
import_multiple_expected.vv fmt: use `import module` syntax 2020-04-14 19:32:23 +02:00
import_multiple_input.vv fmt: handle indents 2020-04-13 16:36:32 +02:00
import_multiple_with_alias_expected.vv fmt: use `import module` syntax 2020-04-14 19:32:23 +02:00
import_multiple_with_alias_input.vv fmt: handle indents 2020-04-13 16:36:32 +02:00
import_single_expected.vv fmt: add keep tests for struct init, fix warnings 2020-05-23 12:05:21 +03:00
import_single_input.vv fmt: add keep tests for struct init, fix warnings 2020-05-23 12:05:21 +03:00
import_with_alias_keep.vv fmt: fix 'import time as t', then using t.sleep_ms() . 2020-05-22 22:31:24 +03:00
include_vroot_keep.vv vfmt: fix `#include "@VROOT/path/x.h"` 2020-07-21 14:26:49 +03:00
integer_literal_keep.vv vfmt: minor fixes + tests 2020-04-07 04:05:59 +02:00
loops_expected.vv fmt: fix formatting backtick char literal 2020-04-30 09:33:43 +02:00
loops_input.vv fmt: fix formatting backtick char literal 2020-04-30 09:33:43 +02:00
maps_expected.vv fmt: split tests 2020-03-08 15:57:16 +01:00
maps_in_fn_args__keep.vv vfmt: add maps_in_fn_args__keep.vv test for 3a369f5 2020-06-10 17:15:53 +03:00
maps_input.vv fmt: split tests 2020-03-08 15:57:16 +01:00
maps_keep.vv fmt: improve handling of map[k]v and []map[k]v types 2020-05-04 18:27:07 +03:00
match_expected.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
match_input.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
match_with_commented_branches_keep.vv vfmt: fix indent level of commented match branches 2020-07-03 17:16:20 +03:00
missing_import_expected.vv fmt: use `import module` syntax 2020-04-14 19:32:23 +02:00
missing_import_input.vv fmt: test automatic import insertion 2020-04-12 17:57:05 +02:00
module_interface_keep.vv fmt: interface decl fixes (#5829) 2020-07-14 18:52:28 +02:00
module_struct_keep.vv vfmt: skip skipped modules; add module test 2020-04-10 22:32:52 +02:00
multiline_comment_keep.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
no_main_expected.vv fmt: allow parsing files without `fn main()` (#5681) 2020-07-05 20:53:01 +02:00
no_main_input.vv fmt: allow parsing files without `fn main()` (#5681) 2020-07-05 20:53:01 +02:00
optional_keep.vv fmt: fix optional formatting 2020-04-22 20:12:58 +02:00
optional_propagate_keep.vv compiler: propagate optional 2020-05-23 08:51:15 +02:00
or_expected.vv fmt: split tests 2020-03-08 15:57:16 +01:00
or_input.vv fmt: split tests 2020-03-08 15:57:16 +01:00
proto_module_importing_vproto_keep.vv vfmt: keep `vproto.Name`, in module `proto` in struct inits too 2020-07-11 02:42:57 +03:00
ref_type_cast_keep.vv vfmt: add _keep.vv tests for the recent fixes, to prevent regressions 2020-07-02 17:50:21 +03:00
shared_expected.vv fmt: make formatter know about new keywords `shared`, `rlock` (#5779) 2020-07-09 22:41:45 +02:00
shared_input.vv fmt: make formatter know about new keywords `shared`, `rlock` (#5779) 2020-07-09 22:41:45 +02:00
string_interpolation_expected.vv fmt: further fixes for string interpolation and builtin macros 2020-06-18 18:48:23 +02:00
string_interpolation_input.vv fmt: further fixes for string interpolation and builtin macros 2020-06-18 18:48:23 +02:00
string_interpolation_literal_keep.vv another vfmt2 fix 2020-04-01 18:25:05 +02:00
string_quotes_expected.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
string_quotes_input.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
struct_default_field_expressions_keep.vv fmt: fix struct field default expressions and tags 2020-05-29 21:22:27 +03:00
struct_init_keep.vv fmt: add keep tests for struct init, fix warnings 2020-05-23 12:05:21 +03:00
struct_init_with_custom_len_keep.vv fmt: add struct init keep test, fix another &&Foo bug 2020-05-30 22:34:57 +03:00
struct_init_with_ref_cast_keep.vv fmt: add struct init keep test, fix another &&Foo bug 2020-05-30 22:34:57 +03:00
struct_keep.vv vfmt: minor fixes + tests 2020-04-07 04:05:59 +02:00
structs_expected.vv parser/fmt: fix comments in structs/consts 2020-06-23 18:01:56 +02:00
structs_input.vv parser/fmt: fix comments in structs/consts 2020-06-23 18:01:56 +02:00
type_ptr_keep.vv scanner: fix parsing multiple .amp 2020-06-13 00:01:44 +02:00
typeof_keep.vv fmt: process TypeOf node 2020-04-03 11:59:53 +02:00
types_expected.vv fmt: TypeDecl; format more files 2020-04-25 20:58:00 +02:00
types_input.vv fmt: TypeDecl; format more files 2020-04-25 20:58:00 +02:00
void_optional_keep.vv fmt: fix ?void format error, add _keep.vv test 2020-06-03 18:45:40 +03:00