From d80d9d3731725f7b0585bc1450385ed323b37492 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 6 Sep 2018 16:46:38 +0200 Subject: [PATCH] Enforce function call spacing --- .eslintrc | 1 + tests/test.rfb.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index b156d3e7..f0c27a94 100644 --- a/.eslintrc +++ b/.eslintrc @@ -31,5 +31,6 @@ "ignoreComments": true }], "comma-spacing": ["error"], "comma-style": ["error"], + "func-call-spacing": ["error"], } } diff --git a/tests/test.rfb.js b/tests/test.rfb.js index dfbbdf7d..70859da2 100644 --- a/tests/test.rfb.js +++ b/tests/test.rfb.js @@ -2184,7 +2184,7 @@ describe('Remote Frame Buffer Protocol Client', function() { describe('WebSocket event handlers', function () { // message events - it ('should do nothing if we receive an empty message and have nothing in the queue', function () { + it('should do nothing if we receive an empty message and have nothing in the queue', function () { client._normal_msg = sinon.spy(); client._sock._websocket._receive_data(new Uint8Array([])); expect(client._normal_msg).to.not.have.been.called;