1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

tests: fix windows text

This commit is contained in:
Mike Diarmid
2020-02-07 02:01:52 +00:00
committed by GitHub
parent aca53deb40
commit 1d8fa45689

View File

@@ -361,7 +361,7 @@ describe('The node_redis client', function () {
it('send_command with callback as args', function (done) {
client.send_command('abcdef', function (err, res) {
if (process.platform === 'win32') {
assert.strictEqual(err.message, 'ERR unknown command `abcdef`');
assert.strictEqual(err.message, "ERR unknown command 'abcdef'");
} else {
assert.strictEqual(err.message, 'ERR unknown command `abcdef`, with args beginning with: ');
}