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

Tests: Fixed assertion which started failing after Req.JS upgrade.

Piotrek Koszuliński преди 10 години
родител
ревизия
29066f1c77
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/ckeditor5-engine/tests/plugincollection/plugincollection.js

+ 1 - 1
packages/ckeditor5-engine/tests/plugincollection/plugincollection.js

@@ -238,7 +238,7 @@ describe( 'load', () => {
 			.catch( ( err ) => {
 				expect( err ).to.be.an.instanceof( Error );
 				// Make sure it's the Require.JS error, not the one thrown above.
-				expect( err.message ).to.match( /^Script error for:/ );
+				expect( err.message ).to.match( /^Script error for/ );
 
 				sinon.assert.calledOnce( logSpy );
 				expect( logSpy.args[ 0 ][ 0 ] ).to.match( /^plugincollection-load:/ );