diff --git a/test/external.spec.js b/test/external.spec.js index e97c06bf9..27c68d597 100644 --- a/test/external.spec.js +++ b/test/external.spec.js @@ -173,10 +173,8 @@ if (typeof process === 'object') { stdout, 'to contain', 'not to error\n' + - " returned promise rejected with: Error('argh')\n" + - '\n' + - ' at thisIsImportant' - ); + " returned promise rejected with: Error('argh')\n" + ).and('to contain', ' at thisIsImportant'); } ); }); @@ -241,10 +239,8 @@ if (typeof process === 'object') { stdout, 'to contain', ' not to error\n' + - " returned promise rejected with: Error('argh')\n" + - ' \n' + - ' at thisIsImportant' - ); + " returned promise rejected with: Error('argh')\n" + ).and('to contain', ' at thisIsImportant'); }); }); });