Skip to content

Commit 698e09b

Browse files
committed
Updates for CI
1 parent e89d2d9 commit 698e09b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

dev/bots/check_tests_cross_imports.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ class TestsCrossImportChecker {
167167
/// Widgets tests importing Material or Cupertino.
168168
// TODO(justinmc): Fix all of these tests so there are no cross imports.
169169
// See https://github.com/flutter/flutter/issues/177028.
170-
static final Set<String> knownCupertinoCrossImports = <String>{
171-
};
170+
static final Set<String> knownCupertinoCrossImports = <String>{};
172171

173172
static final Set<String> _knownCrossImports = knownWidgetsCrossImports.union(
174173
knownCupertinoCrossImports,

dev/bots/test/check_tests_cross_imports_test.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ void main() {
127127
});
128128

129129
test('when not all cupertino knowns have cross imports', () async {
130+
if (TestsCrossImportChecker.knownCupertinoCrossImports.isEmpty) {
131+
return;
132+
}
130133
final String excluded = TestsCrossImportChecker.knownCupertinoCrossImports.first;
131134
buildTestFiles(excludes: <String>{excluded});
132135
bool? success;

0 commit comments

Comments
 (0)