Преглед на файлове

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', () => {