Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit e0292cf

Browse files
author
Emmanuel Garcia
committed
Fix skip check
1 parent 600fd2c commit e0292cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/webview_flutter/example/integration_test/webview_flutter_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ void main() {
10071007
isTrue);
10081008
}
10091009
});
1010-
}, skip: !Platform.isAndroid);
1010+
}, skip: defaultTargetPlatform != TargetPlatform.android);
10111011

10121012
group('NavigationDelegate', () {
10131013
final String blankPage = "<!DOCTYPE html><head></head><body></body></html>";
@@ -1261,7 +1261,7 @@ void main() {
12611261
await controller.goBack();
12621262
expect(controller.currentUrl(), completion('https://www.flutter.dev'));
12631263
},
1264-
skip: !Platform.isAndroid,
1264+
skip: defaultTargetPlatform != TargetPlatform.android,
12651265
);
12661266

12671267
testWidgets(
@@ -1329,7 +1329,7 @@ void main() {
13291329
completion('null'),
13301330
);
13311331
},
1332-
skip: !Platform.isAndroid,
1332+
skip: defaultTargetPlatform != TargetPlatform.android,
13331333
);
13341334
}
13351335

0 commit comments

Comments
 (0)