浏览代码

Match tests with their descriptions.

Maciej Gołaszewski 5 年之前
父节点
当前提交
858fc9cb73
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      packages/ckeditor5-table/tests/commands/setheaderrowcommand.js

+ 4 - 4
packages/ckeditor5-table/tests/commands/setheaderrowcommand.js

@@ -368,8 +368,8 @@ describe( 'SetHeaderRowCommand', () => {
 				const tableSelection = editor.plugins.get( TableSelection );
 				const modelRoot = model.document.getRoot();
 				tableSelection._setCellSelection(
-					modelRoot.getNodeByPath( [ 0, 13, 0 ] ),
-					modelRoot.getNodeByPath( [ 0, 2, 0 ] )
+					modelRoot.getNodeByPath( [ 0, 2, 0 ] ),
+					modelRoot.getNodeByPath( [ 0, 13, 0 ] )
 				);
 
 				command.execute();
@@ -415,8 +415,8 @@ describe( 'SetHeaderRowCommand', () => {
 				const tableSelection = editor.plugins.get( TableSelection );
 				const modelRoot = model.document.getRoot();
 				tableSelection._setCellSelection(
-					modelRoot.getNodeByPath( [ 0, 2, 0 ] ),
-					modelRoot.getNodeByPath( [ 0, 13, 1 ] )
+					modelRoot.getNodeByPath( [ 0, 13, 0 ] ),
+					modelRoot.getNodeByPath( [ 0, 2, 1 ] )
 				);
 
 				command.execute();