test: improve coverage of operations.dart

This commit is contained in:
Mathias Mogensen 2023-08-07 19:19:14 +02:00 • committed by Lucas.Xu
commit 639ebf1415

View file

@ -26,8 +26,9 @@ void main() async {
final historyItem = HistoryItem();
historyItem.add(DeleteOperation([0], [paragraphNode(text: '0')]));
historyItem
.add(UpdateOperation([0], {'subType': 'number'}, {'subType': null}));
historyItem.add(
const UpdateOperation([0], {'subType': 'number'}, {'subType': null}),
);
historyItem.add(DeleteOperation([0], [paragraphNode(), paragraphNode()]));
historyItem.add(DeleteOperation([0], [paragraphNode()]));