tests: read canonical struct initializer operand in defaults regression (#31207)
This commit is contained in:
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')
|
||||
|
||||
Reference in new issue
Block a user