Skip to content

Commit 648cc19

Browse files
committed
Delete dead code
1 parent ee72382 commit 648cc19

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

packages/custom_lint/test/src/workspace_test.dart

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2921,15 +2921,3 @@ dependency_overrides:
29212921
});
29222922
});
29232923
}
2924-
2925-
Future<void> runWithoutInternet(FutureOr<void> Function() cb) async {
2926-
return IOOverrides.runZoned(
2927-
cb,
2928-
socketConnect: (p0, p1, {sourceAddress, sourcePort = 0, timeout}) =>
2929-
throw Exception('No internet'),
2930-
socketStartConnect: (p0, p1, {sourceAddress, sourcePort = 0}) =>
2931-
throw Exception('No internet'),
2932-
serverSocketBind: (p0, p1, {backlog = 0, shared = false, v6Only = false}) =>
2933-
throw Exception('No internet'),
2934-
);
2935-
}

0 commit comments

Comments
 (0)