From a0d6651e0eeb2fa8fae1e5b727584f9468b7b3d2 Mon Sep 17 00:00:00 2001 From: krischerven <50562493+krischerven@users.noreply.github.com> Date: Sun, 12 Apr 2020 20:22:14 -0400 Subject: [PATCH] tests: fix typeof_test --- vlib/v/tests/typeof_test.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'