mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
test-cleancode: add the arrays
module too (#7583)
This commit is contained in:
parent
e27252bef5
commit
13b14ecead
@ -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',
|
||||
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user