Skip to content

Commit

Permalink
update skipped test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil committed May 11, 2018
1 parent 92f6a36 commit 445d408
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/queryable/compile-statement.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('Queryable ::', function() {
});
});

// TODO: Add lots of checking to the statement compiler
// FUTURE: Add lots of checking to the statement compiler
it.skip('should return the malformed exit for bad WLQL', function(done) {
Pack.compileStatement({
statement: {
Expand All @@ -29,8 +29,11 @@ describe('Queryable ::', function() {
}
})
.exec(function(err) {
assert(err);
assert.equal(err.exit, 'malformed');
try {
assert(err);
assert.equal(err.exit, 'malformed', 'Instead got '+err.stack);
} catch (err2) { return done(err2); }

return done();
});
});
Expand Down

0 comments on commit 445d408

Please sign in to comment.