tests: read canonical struct initializer operand in defaults regression (#31207)

This commit is contained in:
Alexander Medvednikov authored and GitHub committed 2026-10-26 18:33:19 +03:00
1 parent 03b23d184d
commit 742c65766b
1 file changed
+1 -1
@@ -73,7 +73,7 @@ fn main() {
}
")
init := transformed_struct_init(a, 'main')
assert init.value == 'Person'
assert init.value_text() == 'Person'
assert init.children_count == 2
name_field := find_field(a, init, 'name')