diff --git a/test/instrumentation/modules/bluebird/bluebird.js b/test/instrumentation/modules/bluebird/bluebird.js index eee89c9b63..77dd5dbfab 100644 --- a/test/instrumentation/modules/bluebird/bluebird.js +++ b/test/instrumentation/modules/bluebird/bluebird.js @@ -927,7 +927,7 @@ test('Promise.promisify', function (t) { readFile(__filename, 'utf8').then(function (contents) { var firstLine = contents.split('\n')[0] - t.equal(firstLine, '\'use strict\'') + t.ok(/use strict/.test(firstLine)) t.equal(ins.currentTransaction.id, trans.id) }) })