浏览代码

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:/ );