Skip to content

Commit

Permalink
createClient -> createConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
sidorares committed Nov 18, 2011
1 parent cc9b35f commit 4c73adc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/errors.test.js
Expand Up @@ -3,7 +3,7 @@ var createConnection = require('./common').createConnection;

module.exports = {
'test error on query': function(beforeExit) {
var db = createClient();
var db = createConnection();
var testEndCalled = false

// attempt to run a bunk query
Expand All @@ -24,7 +24,7 @@ module.exports = {

'test error on empty query': function(beforeExit) {

var db = createClient();
var db = createConnection();

var testEndCalled = false

Expand All @@ -45,7 +45,7 @@ module.exports = {

'test error on execute': function(beforeExit) {

var db = createClient();
var db = createConnection();
var testEndCalled = false
// attempt to run a bunk query
db.execute('SELECT * FROM tbl WHERE id = ?', []).on('error', function(error) {
Expand Down

0 comments on commit 4c73adc

Please sign in to comment.