diff --git a/test/connection.test.js b/test/connection.test.js index 737250f..dc616ed 100644 --- a/test/connection.test.js +++ b/test/connection.test.js @@ -126,7 +126,7 @@ function charsetTest(test_set, test_collo, test_set_str, test_set_collo, done) { db.driver.escape(db.settings.database) + ' LIMIT 1'; db.connector.execute(q, function (err, r) { assert.ok(!err); - assert.ok(r[0].DEFAULT_COLLATION_NAME.match(test_collo)); + should(r[0].DEFAULT_COLLATION_NAME).match(test_collo); db.connector.execute('SHOW VARIABLES LIKE "character_set%"', function (err, r) { assert.ok(!err); var hit_all = 0;