fix: delta_x tests fail (#2010)

Co-authored-by: CatHood0 <santiagowmar@gmail.com>
pull/2008/head^2 v9.5.16
Cat 9 months ago committed by GitHub
parent 13533f8d90
commit 9f7673c887
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      pubspec.yaml
  2. 3
      test/utils/delta_x_test.dart

@ -54,7 +54,7 @@ dependencies:
flutter_colorpicker: ^1.1.0
# For converting HTML to Quill delta
flutter_quill_delta_from_html: ^1.3.0
flutter_quill_delta_from_html: ^1.3.1
markdown: ^7.2.1
charcode: ^1.3.1

@ -32,14 +32,13 @@ void main() {
]);
final expectedDeltaVideo = Delta.fromOperations([
Operation.insert('\n'),
Operation.insert({'video': 'https://www.youtube.com/embed/dQw4w9WgXcQ'}),
Operation.insert('\n'),
]);
final expectedDeltaLinkAndVideoLink = Delta.fromOperations([
Operation.insert('fdsfsd', {'link': 'https://www.macrumors.com/'}),
Operation.insert('\n\n'),
Operation.insert('\n'),
Operation.insert({'video': 'https://www.youtube.com/embed/dQw4w9WgXcQ'}),
Operation.insert('\n'),
]);

Loading…
Cancel
Save