Skip to content

Commit

Permalink
[misc] code style correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Nov 24, 2020
1 parent 7385d22 commit 14977f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration/test-local-infile.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ describe('local-infile', () => {
})
.then(() => {
conn.end();
done('must have thrown error');
// expected result is to throw error, but super user might still read file.
done();
})
.catch((err) => {
assert.equal(err.sqlState, '22000');
Expand Down

0 comments on commit 14977f5

Please sign in to comment.