Skip to content

Commit

Permalink
test(bluebird): properly handle Windows line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Qard committed Oct 19, 2019
1 parent 9c4bf41 commit 126da47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/instrumentation/modules/bluebird/bluebird.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
})
Expand Down

0 comments on commit 126da47

Please sign in to comment.