From 5b30f58c9ca52a47b116436bed1d2fe6bd1482d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lui=CC=81s=20Arteiro?= Date: Tue, 26 Sep 2023 18:53:00 +0100 Subject: [PATCH] fix: Run format. #8 --- integration_test/emoji_widget_test.dart | 6 +----- test/emoji_widget_test.dart | 4 ---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/integration_test/emoji_widget_test.dart b/integration_test/emoji_widget_test.dart index 9aedc30..e537f53 100644 --- a/integration_test/emoji_widget_test.dart +++ b/integration_test/emoji_widget_test.dart @@ -2,15 +2,11 @@ import 'package:app/emoji_picker_widget.dart'; import 'package:app/home_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:flutter_quill/flutter_quill.dart'; -import 'package:flutter_quill_extensions/embeds/toolbar/image_button.dart'; -import 'package:flutter_quill/flutter_quill_test.dart'; import 'package:app/main.dart'; import 'package:mockito/annotations.dart'; import 'package:mockito/mockito.dart'; -import 'package:flutter/services.dart'; // importing mocks import '../test/widget_test.mocks.dart'; @@ -48,7 +44,7 @@ void main() { await tester.pumpAndSettle(); emojiIcon = find.byIcon(Icons.emoji_emotions); - var emojiPicker = find.byKey(emojiButtonKey); + final emojiPicker = find.byKey(emojiButtonKey); // Expect the emoji picker being shown expect(emojiPicker.hitTestable(), findsOneWidget); diff --git a/test/emoji_widget_test.dart b/test/emoji_widget_test.dart index 96ad403..a314e8b 100644 --- a/test/emoji_widget_test.dart +++ b/test/emoji_widget_test.dart @@ -2,15 +2,11 @@ import 'package:app/emoji_picker_widget.dart'; import 'package:app/home_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:flutter_quill/flutter_quill.dart'; -import 'package:flutter_quill_extensions/embeds/toolbar/image_button.dart'; -import 'package:flutter_quill/flutter_quill_test.dart'; import 'package:app/main.dart'; import 'package:mockito/annotations.dart'; import 'package:mockito/mockito.dart'; -import 'package:flutter/services.dart'; // importing mocks import 'widget_test.mocks.dart';