From cb118de2cdf7dc076eff8ee25c495cd067e4b212 Mon Sep 17 00:00:00 2001 From: Ryan Graham Date: Fri, 5 Aug 2016 19:31:42 -0700 Subject: [PATCH] test: use should for easier debugging --- test/connection.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;