diff --git a/cmd/tools/vtest-cleancode.v b/cmd/tools/vtest-cleancode.v index 03442bc17c..a4304213e7 100644 --- a/cmd/tools/vtest-cleancode.v +++ b/cmd/tools/vtest-cleancode.v @@ -20,6 +20,7 @@ const ( vfmt_verify_list = [ 'cmd/tools/vdoc.v', 'cmd/v/v.v', + 'vlib/arrays', 'vlib/builtin/array.v', 'vlib/builtin/array_test.v', 'vlib/builtin/map.v', diff --git a/vlib/arrays/arrays_test.v b/vlib/arrays/arrays_test.v index df7f5f51d4..aa0fd059af 100644 --- a/vlib/arrays/arrays_test.v +++ b/vlib/arrays/arrays_test.v @@ -91,7 +91,6 @@ fn test_fixed_array_assignment() { c = a assert c[0] == a[0] assert c[1] == a[1] - d := [3]int{init: 333} for val in d { assert val == 333 @@ -100,4 +99,4 @@ fn test_fixed_array_assignment() { for val in e { assert val == 'vlang' } -} \ No newline at end of file +}