Skip to content

Commit 303ae67

Browse files
committed
Fix master
1 parent 5c32f71 commit 303ae67

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

packages/flutter_hooks/test/use_transformation_controller_test.dart

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,27 @@ void main() {
2020
element
2121
.toDiagnosticsNode(style: DiagnosticsTreeStyle.offstage)
2222
.toStringDeep(),
23-
equalsIgnoringHashCodes(
24-
'HookBuilder\n'
25-
' │ useTransformationController:\n'
26-
' │ TransformationController#00000([0] 1.0,0.0,0.0,0.0\n'
27-
' │ [1] 0.0,1.0,0.0,0.0\n'
28-
' │ [2] 0.0,0.0,1.0,0.0\n'
29-
' │ [3] 0.0,0.0,0.0,1.0\n'
30-
' │ )\n'
31-
' └SizedBox(renderObject: RenderConstrainedBox#00000)\n',
23+
anyOf(
24+
equalsIgnoringHashCodes(
25+
'HookBuilder\n'
26+
' │ useTransformationController:\n'
27+
' │ TransformationController#00000([0] 1.0,0.0,0.0,0.0\n'
28+
' │ [1] 0.0,1.0,0.0,0.0\n'
29+
' │ [2] 0.0,0.0,1.0,0.0\n'
30+
' │ [3] 0.0,0.0,0.0,1.0\n'
31+
' │ )\n'
32+
' └SizedBox(renderObject: RenderConstrainedBox#00000)\n',
33+
),
34+
equalsIgnoringHashCodes(
35+
'HookBuilder\n'
36+
' │ useTransformationController:\n'
37+
' │ TransformationController#00000([0] [1.0,0.0,0.0,0.0]\n'
38+
' │ [1] [0.0,1.0,0.0,0.0]\n'
39+
' │ [2] [0.0,0.0,1.0,0.0]\n'
40+
' │ [3] [0.0,0.0,0.0,1.0]\n'
41+
' │ )\n'
42+
' └SizedBox(renderObject: RenderConstrainedBox#00000)\n',
43+
),
3244
),
3345
);
3446
});

0 commit comments

Comments
 (0)