Migrate devicelab tests and test runners to null safety. (#85999)
* Migrate devicelab tests and test runners to null safety.
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// @dart = 2.8
|
||||
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:path/path.dart' as path;
|
||||
@@ -31,7 +29,7 @@ void main() {
|
||||
Future<void> expectScriptResult(
|
||||
List<String> testNames,
|
||||
int expectedExitCode,
|
||||
{String deviceId}
|
||||
{String? deviceId}
|
||||
) async {
|
||||
final ProcessResult result = await runScript(testNames, <String>[
|
||||
if (deviceId != null) ...<String>['-d', deviceId],
|
||||
|
||||
Reference in New Issue
Block a user