mirror of
https://github.com/sstent/node.git
synced 2026-01-28 08:02:05 +00:00
first post
This commit is contained in:
11
Nodejs-Socketio-Mysql-Demo/node_modules/mysql/test/integration/Client/commands/test-ping.js
generated
vendored
Normal file
11
Nodejs-Socketio-Mysql-Demo/node_modules/mysql/test/integration/Client/commands/test-ping.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
var common = require('../../../common');
|
||||
var assert = require('assert');
|
||||
|
||||
var client = common.createClient();
|
||||
client.ping(function(err, result) {
|
||||
if (err) throw err;
|
||||
|
||||
assert.strictEqual(result.affectedRows, 0);
|
||||
|
||||
client.end();
|
||||
});
|
||||
Reference in New Issue
Block a user