1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/tests
2020-07-05 16:35:45 +02:00
..
bench move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
inout vlib: fix os.exec().output usages, that may rely on trimmed lines 2020-06-15 15:38:20 +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 os: do not trim space from output of exec 2020-06-14 01:41:47 +02:00
project_with_c_code vmod: add v.mod parser 2020-05-18 14:35:28 +02:00
project_with_modules_having_submodules doc: use v new instead of v create 2020-06-14 21:20:31 +03:00
project_with_tests_for_main cgen: treat the main module like any other v module 2020-07-01 00:53:53 +02:00
repl vrepl: pre-imported common modules (#5643) 2020-07-03 18:06:36 +02:00
valgrind cgen: generalize _vcleanup of array/string consts + valgrind with tcc 2020-05-25 10:24:19 +03:00
array_equality_test.v tests: add nested array not equal tests 2020-06-20 02:34:49 +02:00
array_init_test.v test: fix test_array_init() 2020-06-15 22:31:11 +02:00
array_slice_clone_test.v builtin: array: fix slice cloning 2020-05-27 14:07:03 +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 parser/cgen: multiple attributes & better errors (closes #5334) 2020-06-15 22:59:09 +10:00
backtrace_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
blank_ident_test.v jsgen: improve handling of blank_ident 2020-06-09 09:45:50 +02:00
complex_assign_test.v tests: update for stricter type checks 2020-05-24 21:07:32 +02:00
comptime_bittness_and_endianess_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
comptime_for_test.v vweb: ['/:arg1/:arg2/action'] attribute 2020-07-03 15:10:39 +02:00
comptime_if_test_support_test.v cgen: support $if test { ... } 2020-06-03 10:20:10 +03: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
cross_assign_test.v tests: add mixed and complex types tests for cross assign (#5622) 2020-07-02 18:20:03 +02:00
cstrings_test.v v2: lots of minor test fixes 2020-04-01 17:14:21 +02:00
defer_test.v all: change f mut Foo to mut f Foo 2020-06-04 10:35:40 +02:00
differently_named_structs_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
double_ref_deref_test.v scanner: fix parsing multiple .amp 2020-06-13 00:01:44 +02:00
enum_array_field_test.v checker: fix appending an .enum_val to a struct field of []Enum 2020-05-25 21:48:43 +03: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 parser: fail when assigning to _ with := 2020-06-08 00:47:04 +02:00
fn_multiple_returns_test.v cgen: optional multiple return values 2020-05-07 15:36:04 +02:00
fn_test.v parser: fix function return anon_fn without parentheses 2020-06-22 16:03:31 +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
generics_test.v checker: check if mut function arg is declared as mut (#5579) 2020-06-30 14:19:22 +02:00
goto_test.v cgen: fix a goto error 2020-05-11 23:49:08 +02:00
if_expression_test.v checker: require () in a && b || c 2020-06-02 22:21:44 +02:00
in_expression_test.v cgen: fix in multi_array 2020-06-15 13:21:06 +02:00
int_cmp_test.v cgen: fix unsigned/signed integer comparisons 2020-06-17 02:54:27 +02:00
interface_test.v checker/cgen: interface match 2020-05-31 10:22:21 +02:00
interfaces_map_test.v parser: check (mut f Foo) syntax 2020-05-17 13:51:18 +02:00
interop_test.v parser: fix type_only fns starting with varargs 2020-06-08 19:02:36 +02:00
live_test.v tests: fix some tests, that failed due to the stricter immutable checks 2020-06-01 18:24:38 +03:00
local_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
map_to_string_test.v tests: update for stricter type checks 2020-05-24 21:07:32 +02:00
match_expression_for_types_test.v tests: update for stricter type checks 2020-05-24 21:07:32 +02:00
match_sumtype_var_shadow_and_as_test.v test: fix sumtype shadow & as test 2020-06-19 01:14:53 +10:00
match_test.v parser: fix type detection in match (#5679) 2020-07-05 16:35:45 +02:00
module_test.v all: unify const names to snake_case 2020-05-22 17:36:09 +02:00
module_type_cast_test.v parser: fix module type cast 2020-06-29 17:15:40 +02:00
multiple_assign_test.v cgen: fix swap assign of prefix and postfix expr 2020-05-28 02:22:09 +03:00
multiret_with_ptrtype_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
mut_test.v all: change f mut Foo to mut f Foo 2020-06-04 10:35:40 +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 float: make default string representations for floats become alike 2020-06-18 22:33:41 +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 gen: fix nested or 2020-05-21 22:35:43 +02: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 return error 2020-06-24 12:45:15 +02:00
option_void_test.v cgen: fix optional void return error 2020-06-24 12:45:15 +02:00
pointers_str_test.v all: fix struct names error 2020-05-27 19:12:34 +03:00
pointers_test.v gg: GG => Context 2020-06-04 20:26:18 +02:00
print_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
prod_test.v all: updateimport () and []array 2020-04-26 13:49:31 +02:00
ptr_arithmetic_test.v v/checker.v: disallow pointer arithmetic for InfixExpr outside unsafe {} (#5640) 2020-07-03 18:10:10 +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
shared_lock_2_test.v all: experimental locked concurrency support, part 1 (#5637) 2020-07-04 12:44:25 +02:00
shared_lock_test.v all: experimental locked concurrency support, part 1 (#5637) 2020-07-04 12:44:25 +02:00
shift_test.v tests: update for stricter type checks 2020-05-24 21:07:32 +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 parser: fix string array initialization with interpolation 2020-06-13 22:38:10 +02:00
string_interpolation_multi_return_test.v cgen: add gen_str_for_multi_return 2020-06-21 17:53:13 +02: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 tests: update for stricter type checks 2020-05-24 21:07:32 +02:00
string_interpolation_test.v scanner: fix string interpolation for '$a.b().c' (#5612) 2020-07-02 00:02:59 +02: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_allow_both_field_defaults_and_skip_flag_test.v parser: allow for struct Abc { f [skip] = -1 } 2020-05-29 12:45:54 +03:00
struct_chained_fields_correct_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
struct_test.v cgen: fix cross assign with mutable args (fix #5609 #5610 #5611) (#5614) 2020-07-02 11:09:26 +02:00
sum_type_test.v checker/gen: fix nested sumtype matching 2020-07-06 00:25:04 +10:00
sumtype_calls_test.v test: fix alias type errors and type_test.v 2020-05-19 15:04:51 +03:00
supports__likely__test.v v: add compiler support for _unlikely_(x) too 2020-06-09 18:11:03 +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
type_promotion_test.v checker: permit int -> f32, int64 -> f64 and similar promotions again 2020-06-02 17:00:14 +02:00
typeof_simple_types_test.v tests: update for stricter type checks 2020-05-24 21:07:32 +02:00
typeof_test.v tests: update for stricter type checks 2020-05-24 21:07:32 +02:00
vargs_auto_str_method_and_println_test.v gen: fix autogenerated print methods for vargs 2020-05-24 15:05:19 +03:00
vmod_parser_test.v 0.1.28 2020-06-18 15:57:53 +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