diff --git a/vlib/v/tests/typeof_test.v b/vlib/v/tests/typeof_test.v index e802472693..796e02f9aa 100644 --- a/vlib/v/tests/typeof_test.v +++ b/vlib/v/tests/typeof_test.v @@ -20,7 +20,7 @@ struct FooBar { fn test_typeof_on_structs() { assert typeof(FooBar{}) == 'FooBar' - astruct_static := [2] + astruct_static := [2]FooBar astruct_dynamic := [FooBar{}, FooBar{}] assert typeof(astruct_static) == '[2]FooBar' assert typeof(astruct_dynamic) == 'array_FooBar'