test: improve coverage of operations.dart
This commit is contained in:
parent
a564c10e87
commit
639ebf1415
1 changed files with 99 additions and 9 deletions
|
|
@ -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()]));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue