Skip to content

Commit

Permalink
Tweak tests for iojs
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed Sep 27, 2015
1 parent 406ed0e commit 706c7fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tolk-basics.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('readCompiled', function () {
return expect(tolk.read(getPath('does-not-exist.txt')), 'when rejected', 'to satisfy', {
code: 'ENOENT',
path: /fixtures\/source\/does-not-exist\.txt$/,
message: /^ENOENT, open '.+?fixtures\/source\/does-not-exist\.txt'$/
message: /^ENOENT.*?, open '.+?fixtures\/source\/does-not-exist\.txt'$/
});
});

Expand All @@ -42,7 +42,7 @@ describe('readCompiled', function () {
return expect(tolk.read(getPath('does-not-exist.scss')), 'when rejected', 'to satisfy', {
code: 'ENOENT',
path: /fixtures\/source\/does-not-exist\.scss$/,
message: /^ENOENT, open '.+?fixtures\/source\/does-not-exist\.scss'$/
message: /^ENOENT.*?, open '.+?fixtures\/source\/does-not-exist\.scss'$/
});
});

Expand Down

0 comments on commit 706c7fe

Please sign in to comment.