Unverified Commit f291eb34 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Remove unnecessary null checks in integration_test (#118861)

parent 492d5726
......@@ -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;
......
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment