Skip to content

Commit

Permalink
Update autoformats_test.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-P committed Aug 25, 2024
1 parent 84911e3 commit 584e87d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fleather/test/widgets/autoformats_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 584e87d

Please sign in to comment.