Skip to content

Commit

Permalink
convert compiler tests 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 822b115 commit 190f5ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/compiler-fixtures/foo.fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ require.extensions['.foo'] = function (module, filename) {
var content;
content = fs.readFileSync(filename, 'utf8');
var test = 'describe("custom compiler",function(){ it("should work",function() { ' +
'expect(' + content + ').to.eql(1); }); });';
'expect(' + content + ', "to be", 1); }); });';
return module._compile(test, filename);
};
2 changes: 1 addition & 1 deletion test/compiler/test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ obj = foo: 'bar'

describe 'coffeescript', ->
it 'should work', ->
expect(obj).to.eql foo: 'bar'
expect(obj, 'to equal', foo: 'bar')

0 comments on commit 190f5ed

Please sign in to comment.