From 17c74772a31d9ab793d6e6e2a7794e22327fe2a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Go=C5=82aszewski?= Date: Tue, 28 Jan 2020 19:55:12 +0100 Subject: [PATCH] Align test code to the latest changes in selection post-fixer. --- tests/tableediting.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tableediting.js b/tests/tableediting.js index 34fd9e8c..d8dbee31 100644 --- a/tests/tableediting.js +++ b/tests/tableediting.js @@ -259,7 +259,7 @@ describe( 'TableEditing', () => { describe( 'on TAB', () => { it( 'should do nothing if selection is not in a table', () => { - setModelData( model, '[]' + modelTable( [ + setModelData( model, '[]' + modelTable( [ [ '11', '12' ] ] ) ); @@ -267,7 +267,7 @@ describe( 'TableEditing', () => { sinon.assert.notCalled( domEvtDataStub.preventDefault ); sinon.assert.notCalled( domEvtDataStub.stopPropagation ); - assertEqualMarkup( getModelData( model ), '[]' + modelTable( [ + assertEqualMarkup( getModelData( model ), '[]' + modelTable( [ [ '11', '12' ] ] ) ); } ); @@ -456,7 +456,7 @@ describe( 'TableEditing', () => { } ); it( 'should do nothing if selection is not in a table', () => { - setModelData( model, '[]' + modelTable( [ + setModelData( model, '[]' + modelTable( [ [ '11', '12' ] ] ) ); @@ -467,7 +467,7 @@ describe( 'TableEditing', () => { sinon.assert.notCalled( domEvtDataStub.preventDefault ); sinon.assert.notCalled( domEvtDataStub.stopPropagation ); - assertEqualMarkup( getModelData( model ), '[]' + modelTable( [ + assertEqualMarkup( getModelData( model ), '[]' + modelTable( [ [ '11', '12' ] ] ) ); } );