mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: update struct_init_with_interface_pointer_and_embed_test.v to match 2119a24
This commit is contained in:
parent
725456cde0
commit
de2ed7497a
@ -19,10 +19,11 @@ mut:
|
||||
fn test_struct_with_both_an_embed_and_a_pointer_to_interface_value_fields__initialises_properly() {
|
||||
i := Item{}
|
||||
si := i.str()
|
||||
dump(si)
|
||||
assert si.contains('Item{')
|
||||
assert si.contains('Embed: Embed{')
|
||||
assert si.contains('foo: 0')
|
||||
assert si.contains('id: 0')
|
||||
assert si.contains('parent: &nil')
|
||||
assert si.contains('parent: &Node(0x0)')
|
||||
assert si.contains('}')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user