From badbf4ae10c2c71ab4286ea5aca9f025a8d853a7 Mon Sep 17 00:00:00 2001 From: rohansen856 Date: Mon, 16 Dec 2024 22:51:29 +0530 Subject: [PATCH] fix: fixed analysis errors by adding build_collection to dependencies --- pubspec.yaml | 1 + test/utils/taskfunctions/comparator_test.dart | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index dafde94..76c5869 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -63,6 +63,7 @@ dependencies: tutorial_coach_mark: ^1.2.11 url_launcher: ^6.1.14 uuid: ^4.2.2 + built_collection: ^5.1.1 dev_dependencies: build_runner: null diff --git a/test/utils/taskfunctions/comparator_test.dart b/test/utils/taskfunctions/comparator_test.dart index 32409a9..5957bee 100644 --- a/test/utils/taskfunctions/comparator_test.dart +++ b/test/utils/taskfunctions/comparator_test.dart @@ -91,9 +91,6 @@ void main() { final task1 = createTask(); final task2 = createTask(); - // Define urgency function to compare tasks - int urgency(Task task) => task.entry.microsecondsSinceEpoch; - final comparator = compareTasks('Urgency'); expect(comparator(task1, task2), equals(0)); });