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

Commit

Permalink
Tests: Fix deletecontent tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodator committed Jul 4, 2018
1 parent 9a84bb2 commit f5bffd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/model/utils/deletecontent.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ describe( 'DataController utils', () => {
new Position( doc.getRoot( 'bodyRoot' ), [ 3 ] )
);

deleteContent( model, range );
deleteContent( model, new Selection( range ) );

expect( getData( model, { rootName: 'bodyRoot', withoutSelection: true } ) )
.to.equal( '<paragraph>x</paragraph><paragraph></paragraph><paragraph>z</paragraph>' );
Expand Down

0 comments on commit f5bffd4

Please sign in to comment.