v/vlib/v/tests
Sandro Martini e137fbb1ea
array: more tests of initialization
2020-05-19 19:53:47 +02:00
..
bench move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
inout panic: distinguish between builtin and main modules 2020-05-04 14:51:30 +03:00
local move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
modules move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
prod parser: add unused variable warning 2020-04-22 01:52:56 +02:00
project_with_c_code vmod: add v.mod parser 2020-05-18 14:35:28 +02:00
project_with_modules_having_submodules move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
repl vrepl: fix array_init error 2020-05-11 07:15:08 +03:00
valgrind Revert "tests: valgrind: enable string tests" 2020-05-08 16:18:14 +02:00
array_equality_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
array_init_test.v array: more tests of initialization 2020-05-19 19:53:47 +02:00
array_to_string_test.v cgen: fix []map[string]string.str() error 2020-05-05 08:46:19 +03:00
asm_test.v cgen: minor optionals fixes 2020-04-06 18:46:50 +02:00
attribute_test.v move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
backtrace_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
blank_ident_test.v parser: allow blank ident in nested loops 2020-04-23 12:00:51 +02:00
complex_assign_test.v parser: fix to multi-expr 2020-05-18 18:33:27 +02:00
comptime_bittness_and_endianess_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
const_embed_test.v ftoa: fix strconv/ftoa/f32_f64_to_string_test.v 2020-04-14 03:53:34 +02:00
const_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
cstrings_test.v v2: lots of minor test fixes 2020-04-01 17:14:21 +02:00
defer_test.v checker: allow again fallthrough in or{} blocks of option calls without assignment 2020-04-08 02:56:24 +03:00
differently_named_structs_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
enum_bitfield_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
enum_default_value_in_struct_test.v cgen: add g.auto_str_funcs, print &Struct pointers with enum fields 2020-04-21 13:32:17 +03:00
enum_hex_test.v v2: initial interface support; fix enum_hex_test.v 2020-03-31 19:59:41 +02:00
enum_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
fixed_array_init_test.v cgen: uniform string output format 2020-04-27 14:48:28 +02:00
fixed_array_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
fixed_array_to_string_test.v cgen: uniform string output format 2020-04-27 14:48:28 +02:00
fn_expecting_ref_but_returning_struct_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
fn_expecting_ref_but_returning_struct_time_module_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
fn_high_test.v cgen: optional multiple return values 2020-05-07 15:36:04 +02:00
fn_multiple_returns_test.v cgen: optional multiple return values 2020-05-07 15:36:04 +02:00
fn_test.v all: re-apply C++ support 2020-05-18 21:38:06 +02:00
fn_variadic_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
for_loops_test.v cgen: simplify for in range 2020-05-14 22:22:32 +02:00
generic_test.v parser: check `(mut f Foo)` syntax 2020-05-17 13:51:18 +02:00
goto_test.v cgen: fix a goto error 2020-05-11 23:49:08 +02:00
if_expression_test.v gen: if expressions with multiple statements 2020-05-14 17:15:25 +02:00
in_expression_test.v all: use `a !in b` instead of `!(a in b)` 2020-04-26 06:39:23 +02:00
interface_test.v cgen: handle `is` for interfaces 2020-05-14 16:56:45 +02:00
interfaces_map_test.v parser: check `(mut f Foo)` syntax 2020-05-17 13:51:18 +02:00
live_test.v solaris: fix tests 2020-05-07 16:19:21 +00:00
local_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
map_to_string_test.v cgen: uniform string output format 2020-04-27 14:48:28 +02:00
match_expression_for_types_test.v checker: avert if else is unnecessary 2020-04-25 21:51:44 +02:00
match_test.v all: replace `var` with `mut` 2020-04-23 01:16:58 +02:00
module_test.v all: update`import ()` and `[]array` 2020-04-26 13:49:31 +02:00
multiple_assign_test.v cgen: fix multiple assign error 2020-05-11 09:45:11 +03:00
multiret_with_ptrtype_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
mut_test.v tests: fix mut_test; x64: sub32() 2020-04-21 05:49:03 +02:00
nameof_test.v v2: lots of minor test fixes 2020-04-01 17:14:21 +02:00
nested_map_test.v parser: do not allow redefinition of fn args 2020-04-26 12:01:10 +02:00
num_lit_call_method_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
operator_overloading_with_string_interpolation_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
option_default_values_test.v compiler: support default values in optional blocks 2020-04-05 11:59:15 +03:00
option_if_assign_and_fallthrough_test.v checker: allow again fallthrough in or{} blocks of option calls without assignment 2020-04-08 02:56:24 +03:00
option_print_errors_test.v cgen: support for error('abc').str() and printing errors 2020-04-24 18:35:33 +03:00
option_test.v cgen: fix optional_void error; handle `?` return type 2020-05-15 15:55:03 +02:00
pointers_str_test.v cgen: printing pointer should print the address 2020-04-09 15:35:52 +02:00
pointers_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
print_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
prod_test.v all: update`import ()` and `[]array` 2020-04-26 13:49:31 +02:00
repeated_multiret_values_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
return_voidptr_test.v move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
reusable_mut_multiret_values_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
shift_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
short_struct_param_syntax_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
static_arrays_using_const_for_size_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
str_gen_test.v cgen: fix `map` `fixed-array` .str() error 2020-04-28 07:22:46 +02:00
string_interpolation_array_test.v cgen: fix []map[string]string.str() error 2020-05-05 08:46:19 +03:00
string_interpolation_of_array_of_structs_test.v cgen: fix auto .str() generation for []&T, and `fn (t &T) str() string{}` 2020-05-08 12:48:07 +03:00
string_interpolation_struct_test.v cgen: fix struct with map field str() error 2020-05-06 09:08:48 +03:00
string_interpolation_test.v cgen: fix a sporadic segfault when giving -width in a string interpolation 2020-05-09 15:23:37 +03:00
string_interpolation_variadic_test.v cgen: uniform string output format 2020-04-27 14:48:28 +02:00
string_struct_interpolation_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
struct_chained_fields_correct_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
struct_test.v parser: fix struct attribute for array struct field 2020-05-08 13:09:40 +02:00
sum_type_test.v cgen: dereference in one place and fix 2020-05-13 01:01:34 +02:00
sumtype_calls_test.v test: fix alias type errors and type_test.v 2020-05-19 15:04:51 +03:00
type_alias_str_method_override_test.v test: fix alias type errors and type_test.v 2020-05-19 15:04:51 +03:00
type_alias_test.v tests: add new type alias syntax tests 2020-04-13 16:44:21 +02:00
typeof_simple_types_test.v cgen: generate typeof for functions 2020-04-16 21:04:27 +02:00
typeof_test.v all: update`import ()` and `[]array` 2020-04-26 13:49:31 +02:00
vmod_parser_test.v vmod: add v.mod parser 2020-05-18 14:35:28 +02:00
voidptr_to_u64_cast_a_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
voidptr_to_u64_cast_b_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
working_with_an_empty_struct_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00