Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
convert test/require/require.spec.js to unexpected
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
  • Loading branch information
boneskull committed Apr 21, 2018
1 parent eb6bcff commit 241159e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/require/require.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
describe('require test', function () {
it('should require args in order', function () {
var req = global.required;
expect(req.indexOf('a.js')).to.equal(0);
expect(req.indexOf('b.coffee')).to.equal(1);
expect(req.indexOf('c.js')).to.equal(2);
expect(req.indexOf('d.coffee')).to.equal(3);
expect(req.indexOf('a.js'), 'to be', 0);
expect(req.indexOf('b.coffee'), 'to be', 1);
expect(req.indexOf('c.js'), 'to be', 2);
expect(req.indexOf('d.coffee'), 'to be', 3);
});
});

0 comments on commit 241159e

Please sign in to comment.