mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
[]: update all examples and tests
This commit is contained in:
@ -65,7 +65,7 @@ struct K {
|
||||
}
|
||||
|
||||
fn test_empty() {
|
||||
mut chunks := []
|
||||
mut chunks := []Chunk
|
||||
a := Chunk{}
|
||||
assert chunks.len == 0
|
||||
chunks << a
|
||||
@ -346,7 +346,7 @@ fn (t Test) str() string {
|
||||
fn test_struct_print() {
|
||||
mut a := Test {
|
||||
a: 'Test',
|
||||
b: []Test2
|
||||
b: []
|
||||
}
|
||||
b := Test2 {
|
||||
one: 1,
|
||||
|
Reference in New Issue
Block a user