Browse Source

Fix "should move rowspaned cells to row below removing it's row" test cases.

Maciej Gołaszewski 5 years ago
parent
commit
c606fc83e0

+ 2 - 2
packages/ckeditor5-table/tests/commands/removerowcommand.js

@@ -464,7 +464,7 @@ describe( 'RemoveRowCommand', () => {
 			setData( model, modelTable( [
 				[ { rowspan: 3, contents: '[]00' }, { rowspan: 2, contents: '01' }, '02' ],
 				[ '12' ],
-				[ '22' ],
+				[ '21', '22' ],
 				[ '30', '31', '32' ]
 			] ) );
 
@@ -472,7 +472,7 @@ describe( 'RemoveRowCommand', () => {
 
 			assertEqualMarkup( getData( model ), modelTable( [
 				[ { rowspan: 2, contents: '[]00' }, '01', '12' ],
-				[ '22' ],
+				[ '21', '22' ],
 				[ '30', '31', '32' ]
 			] ) );
 		} );

+ 2 - 2
packages/ckeditor5-table/tests/tableutils.js

@@ -814,7 +814,7 @@ describe( 'TableUtils', () => {
 				setData( model, modelTable( [
 					[ { rowspan: 3, contents: '00' }, { rowspan: 2, contents: '01' }, '02' ],
 					[ '12' ],
-					[ '22' ],
+					[ '21', '22' ],
 					[ '30', '31', '32' ]
 				] ) );
 
@@ -822,7 +822,7 @@ describe( 'TableUtils', () => {
 
 				assertEqualMarkup( getData( model, { withoutSelection: true } ), modelTable( [
 					[ { rowspan: 2, contents: '00' }, '01', '12' ],
-					[ '22' ],
+					[ '21', '22' ],
 					[ '30', '31', '32' ]
 				] ) );
 			} );