mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix failing program_test.v due to deprecation warnings
This commit is contained in:
parent
5162c257a2
commit
1bf6d04e37
14
vlib/v/gen/js/tests/testdata/array.v
vendored
14
vlib/v/gen/js/tests/testdata/array.v
vendored
@ -128,7 +128,7 @@ fn main() {
|
||||
println(*d_arr[1][0]) // 1
|
||||
}
|
||||
{
|
||||
// test assign
|
||||
// test assign
|
||||
mut arr := [2, 4, 8, 16, 32, 64, 128]
|
||||
arr[0] = 2
|
||||
arr[1] &= 255
|
||||
@ -1064,20 +1064,20 @@ fn main() {
|
||||
ivan := Person{
|
||||
name: 'ivan'
|
||||
nums: [1, 2, 3]
|
||||
kv: map{
|
||||
kv: {
|
||||
'aaa': '111'
|
||||
}
|
||||
}
|
||||
people := [Person{
|
||||
name: 'ivan'
|
||||
nums: [1, 2, 3]
|
||||
kv: map{
|
||||
kv: {
|
||||
'aaa': '111'
|
||||
}
|
||||
}, Person{
|
||||
name: 'bob'
|
||||
nums: [2]
|
||||
kv: map{
|
||||
kv: {
|
||||
'bbb': '222'
|
||||
}
|
||||
}]
|
||||
@ -1088,20 +1088,20 @@ fn main() {
|
||||
ivan := Person{
|
||||
name: 'ivan'
|
||||
nums: [1, 2, 3]
|
||||
kv: map{
|
||||
kv: {
|
||||
'aaa': '111'
|
||||
}
|
||||
}
|
||||
people := [Person{
|
||||
name: 'ivan'
|
||||
nums: [1, 2, 3]
|
||||
kv: map{
|
||||
kv: {
|
||||
'aaa': '111'
|
||||
}
|
||||
}, Person{
|
||||
name: 'bob'
|
||||
nums: [2]
|
||||
kv: map{
|
||||
kv: {
|
||||
'bbb': '222'
|
||||
}
|
||||
}]
|
||||
|
Loading…
Reference in New Issue
Block a user