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 = [
|
vfmt_verify_list = [
|
||||||
'cmd/tools/vdoc.v',
|
'cmd/tools/vdoc.v',
|
||||||
'cmd/v/v.v',
|
'cmd/v/v.v',
|
||||||
|
'vlib/arrays',
|
||||||
'vlib/builtin/array.v',
|
'vlib/builtin/array.v',
|
||||||
'vlib/builtin/array_test.v',
|
'vlib/builtin/array_test.v',
|
||||||
'vlib/builtin/map.v',
|
'vlib/builtin/map.v',
|
||||||
|
@ -91,7 +91,6 @@ fn test_fixed_array_assignment() {
|
|||||||
c = a
|
c = a
|
||||||
assert c[0] == a[0]
|
assert c[0] == a[0]
|
||||||
assert c[1] == a[1]
|
assert c[1] == a[1]
|
||||||
|
|
||||||
d := [3]int{init: 333}
|
d := [3]int{init: 333}
|
||||||
for val in d {
|
for val in d {
|
||||||
assert val == 333
|
assert val == 333
|
||||||
@ -100,4 +99,4 @@ fn test_fixed_array_assignment() {
|
|||||||
for val in e {
|
for val in e {
|
||||||
assert val == 'vlang'
|
assert val == 'vlang'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user