8
0
Maksymilian Barnaś 9 лет назад
Родитель
Сommit
fe8ad9f34d
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      dev/bender/plugins/ckeditor5/static/extensions.js

+ 6 - 6
dev/bender/plugins/ckeditor5/static/extensions.js

@@ -29,27 +29,27 @@
 		chai.use( addThrowsCKEditorError.bind( null, CKEditorError ) );
 
 		// Self-test of the extension. Function names will help find those tests in case of regression.
-		chai.expect( function throwCKEditorErrorSelfTest() {
+		chai.expect( function throwCKEditorErrorSelfTest1() {
 			throw new CKEditorError();
 		} ).to.throwCKEditorError();
 
-		chai.expect( function throwCKEditorErrorSelfTest() {
+		chai.expect( function throwCKEditorErrorSelfTest2() {
 			throw new Error();
 		} ).to.not.throwCKEditorError();
 
-		chai.expect( function throwCKEditorErrorSelfTest() {
+		chai.expect( function throwCKEditorErrorSelfTest3() {
 			throw new CKEditorError( 'custom message' );
 		} ).to.throwCKEditorError( 'message' );
 
-		chai.expect( function throwCKEditorErrorSelfTest() {
+		chai.expect( function throwCKEditorErrorSelfTest4() {
 			throw new CKEditorError( 'another msg' );
 		} ).to.throwCKEditorError( /msg/ );
 
-		chai.expect( function throwCKEditorErrorSelfTest() {
+		chai.expect( function throwCKEditorErrorSelfTest5() {
 			throw new CKEditorError( 'another msg' );
 		} ).to.throwCKEditorError( /^another/ );
 
-		chai.expect( function throwCKEditorErrorSelfTest() {
+		chai.expect( function throwCKEditorErrorSelfTest6() {
 			throw new CKEditorError( 'another msg' );
 		} ).to.throwCKEditorError( /msg$/ );
 	} );