Revert "NNBD integration_test (#74922)" (#75030)

This reverts commit cca9592f0e.
This commit is contained in:
Ian Hickson
2021-01-29 15:46:21 -08:00
committed by GitHub
parent 3cf89f9d27
commit 87b043658b
17 changed files with 82 additions and 79 deletions

View File

@@ -36,7 +36,7 @@ void main() {
find.byWidgetPredicate(
(Widget widget) =>
widget is Text &&
widget.data!.startsWith('Platform: ${Platform.operatingSystem}'),
widget.data.startsWith('Platform: ${Platform.operatingSystem}'),
),
findsOneWidget,
);

View File

@@ -30,7 +30,7 @@ void main() {
find.byWidgetPredicate(
(Widget widget) =>
widget is Text &&
widget.data!
widget.data
.startsWith('Platform: ${html.window.navigator.platform}\n'),
),
findsOneWidget,

View File

@@ -34,7 +34,7 @@ void main() {
find.byWidgetPredicate(
(Widget widget) =>
widget is Text &&
widget.data!.startsWith('Platform: ${Platform.operatingSystem}'),
widget.data.startsWith('Platform: ${Platform.operatingSystem}'),
),
findsOneWidget,
);

View File

@@ -34,7 +34,7 @@ void main() {
find.byWidgetPredicate(
(Widget widget) =>
widget is Text &&
widget.data!
widget.data
.startsWith('Platform: ${html.window.navigator.platform}\n'),
),
findsOneWidget,