Unverified Commit b891adb4 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] migrate artifacts to null safety (#83073)

parent 31e75545
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// @dart = 2.8
import 'package:file/memory.dart'; import 'package:file/memory.dart';
import 'package:flutter_tools/src/artifacts.dart'; import 'package:flutter_tools/src/artifacts.dart';
import 'package:flutter_tools/src/base/file_system.dart'; import 'package:flutter_tools/src/base/file_system.dart';
...@@ -18,10 +16,10 @@ import '../src/fakes.dart'; ...@@ -18,10 +16,10 @@ import '../src/fakes.dart';
void main() { void main() {
group('CachedArtifacts', () { group('CachedArtifacts', () {
CachedArtifacts artifacts; late CachedArtifacts artifacts;
Cache cache; late Cache cache;
FileSystem fileSystem; late FileSystem fileSystem;
Platform platform; late Platform platform;
setUp(() { setUp(() {
fileSystem = MemoryFileSystem.test(); fileSystem = MemoryFileSystem.test();
...@@ -185,10 +183,10 @@ void main() { ...@@ -185,10 +183,10 @@ void main() {
}); });
group('LocalEngineArtifacts', () { group('LocalEngineArtifacts', () {
LocalEngineArtifacts artifacts; late LocalEngineArtifacts artifacts;
Cache cache; late Cache cache;
FileSystem fileSystem; late FileSystem fileSystem;
Platform platform; late Platform platform;
setUp(() { setUp(() {
fileSystem = MemoryFileSystem.test(); fileSystem = MemoryFileSystem.test();
......
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