瀏覽代碼

Tests: missed test case was failing.

Szymon Cofalik 9 年之前
父節點
當前提交
114a2da255
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-engine/tests/model/position.js

+ 1 - 1
packages/ckeditor5-engine/tests/model/position.js

@@ -141,7 +141,7 @@ describe( 'position', () => {
 		it( 'throws when parent is not an element', () => {
 			expect( () => {
 				Position.createFromParentAndOffset( b, 0 );
-			} ).to.throw( CKEditorError, /^position-parent-incorrect/ );
+			} ).to.throw( CKEditorError, /^model-position-parent-incorrect/ );
 		} );
 
 		it( 'works with a doc frag', () => {