Skip to content

Commit

Permalink
Remove unnecessary null checks in integration_test (#118861)
Browse files Browse the repository at this point in the history
  • Loading branch information
goderbauer committed Jan 20, 2023
1 parent 492d572 commit f291eb3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/integration_test/lib/integration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ https://flutter.dev/docs/testing/integration-tests#testing-on-firebase-test-lab
@visibleForTesting vm.VmService? vmService,
@visibleForTesting HttpClient? httpClient,
}) async {
assert(streams != null);
assert(streams.isNotEmpty);
if (vmService != null) {
_vmService = vmService;
Expand Down
1 change: 0 additions & 1 deletion packages/integration_test/lib/integration_test_driver.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Future<void> writeResponseData(
String testOutputFilename = 'integration_response_data',
String? destinationDirectory,
}) async {
assert(testOutputFilename != null);
destinationDirectory ??= testOutputsDirectory;
await fs.directory(destinationDirectory).create(recursive: true);
final File file = fs.file(path.join(
Expand Down

0 comments on commit f291eb3

Please sign in to comment.