Skip to content

Commit

Permalink
tests: fix windows text
Browse files Browse the repository at this point in the history
  • Loading branch information
Salakar authored Feb 7, 2020
1 parent aca53de commit 1d8fa45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/node_redis.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: ');
}
Expand Down

0 comments on commit 1d8fa45

Please sign in to comment.