@@ -212,7 +212,6 @@ void main() {
212212
213213 // Verify nested widgets are captured
214214 expect (_containsWidgetType (result.snapshot, 'Column' ), isTrue);
215- expect (_containsWidgetType (result.snapshot, 'Container' ), isTrue);
216215 expect (_containsWidgetType (result.snapshot, 'Row' ), isTrue);
217216 expect (_containsWidgetType (result.snapshot, 'ElevatedButton' ), isTrue);
218217 expect (_containsWidgetType (result.snapshot, 'IconButton' ), isTrue);
@@ -447,14 +446,14 @@ void main() {
447446
448447 final json = snapshot.toJson ();
449448
450- expect (json['label ' ], equals ('TestWidget' ));
449+ expect (json['lb ' ], equals ('TestWidget' ));
451450 expect (json['x' ], equals (10 ));
452451 expect (json['y' ], equals (20 ));
453- expect (json['width ' ], equals (100 ));
454- expect (json['height ' ], equals (200 ));
452+ expect (json['wd ' ], equals (100 ));
453+ expect (json['ht ' ], equals (200 ));
455454 expect (json['id' ], equals ('test-id' ));
456- expect (json['highlighted ' ], equals (true ));
457- expect (json['scrollable ' ], equals (true ));
455+ expect (json['hl ' ], equals (true ));
456+ expect (json['sc ' ], equals (true ));
458457 });
459458
460459 test ('toJson excludes null id' , () {
@@ -493,10 +492,10 @@ void main() {
493492
494493 final json = snapshot.toJson ();
495494
496- expect (json['children ' ], isNotNull);
497- expect (json['children ' ], isList);
498- expect ((json['children ' ] as List ).length, equals (1 ));
499- expect ((json['children ' ] as List )[0 ]['label ' ], equals ('Child' ));
495+ expect (json['ch ' ], isNotNull);
496+ expect (json['ch ' ], isList);
497+ expect ((json['ch ' ] as List ).length, equals (1 ));
498+ expect ((json['ch ' ] as List )[0 ]['lb ' ], equals ('Child' ));
500499 });
501500 });
502501}
0 commit comments