Reland integration_test NNBD (#75074)

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

This reverts commit 87b043658b.

* fix bad merge issues
This commit is contained in:
Dan Field
2021-02-01 10:19:14 -08:00
committed by GitHub
parent 50a8ecb7d6
commit d3092541e2
17 changed files with 85 additions and 86 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,