Skip to content

Commit

Permalink
completing connection API testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Jun 21, 2018
1 parent 11412ee commit eb48627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/test-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ describe("connection", () => {

it("API format error", function(done) {
try {
shareConn.escapeId("fff");
shareConn.format("fff");
done(new Error("should have thrown error!"));
} catch (err) {
assert.equal(err.sqlState, "0A000");
Expand Down

0 comments on commit eb48627

Please sign in to comment.