1
0
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:
Delyan Angelov 2023-01-06 15:01:33 +02:00
parent 725456cde0
commit de2ed7497a
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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('}')
}