From ccb9d887c0d5d139b217c28caa1fcf4aa8a6eda3 Mon Sep 17 00:00:00 2001 From: Thomas Burkhart Date: Mon, 12 Aug 2024 15:37:11 +0100 Subject: [PATCH] make the analyzer happy --- test/get_it_test.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/get_it_test.dart b/test/get_it_test.dart index 3db4c01..3077731 100644 --- a/test/get_it_test.dart +++ b/test/get_it_test.dart @@ -1,6 +1,5 @@ // ignore_for_file: unnecessary_type_check, avoid_redundant_argument_values, avoid_classes_with_only_static_members import 'dart:async'; -import 'dart:developer'; import 'package:get_it/get_it.dart'; import 'package:test/test.dart'; @@ -332,8 +331,8 @@ void main() { await Future.delayed(const Duration(milliseconds: 1000)); storage.clear(); await Future.delayed(const Duration(milliseconds: 10)); - NativeRuntime.writeHeapSnapshotToFile('dump.heapsnapshot'); - final TestBaseClass? instance3 = getIt.get(); + // NativeRuntime.writeHeapSnapshotToFile('dump.heapsnapshot'); + getIt.get(); expect(constructorCounter, 2); GetIt.I.reset();