diff --git a/packages/fleather/test/widgets/autoformats_test.dart b/packages/fleather/test/widgets/autoformats_test.dart index d0d60182..5a49b44e 100644 --- a/packages/fleather/test/widgets/autoformats_test.dart +++ b/packages/fleather/test/widgets/autoformats_test.dart @@ -18,8 +18,8 @@ void main() { test('Can use custom formats with fallbacks', () { final customAutoformat = MockAutoFormat(); final document = ParchmentDocument(); - final position = 5; - final data = 'Test'; + const position = 5; + const data = 'Test'; when(() => customAutoformat.apply(any(), any(), any())) .thenReturn(MockAutoFormatResult()); final formats = AutoFormats.fallback([customAutoformat]);