Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge branch t/new-ot
Browse files Browse the repository at this point in the history
Internal: Adjust code and docs to the new OT, remove deltas.
  • Loading branch information
Piotr Jasiun committed Jul 25, 2018
2 parents ab613ba + fcdc6fd commit 59e3f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/attributecommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ describe( 'AttributeCommand', () => {
setData( model, '<p>a[bc<$text bold="true">fo]obar</$text>xyz</p>' );

model.change( writer => {
expect( writer.batch.deltas.length ).to.equal( 0 );
expect( writer.batch.operations.length ).to.equal( 0 );
command.execute();
expect( writer.batch.deltas.length ).to.equal( 1 );
expect( writer.batch.operations.length ).to.equal( 1 );
} );

expect( getData( model ) ).to.equal( '<p>a[<$text bold="true">bcfo]obar</$text>xyz</p>' );
Expand Down

0 comments on commit 59e3f7f

Please sign in to comment.