diff options
author | Pierre Ossman <ossman@cendio.se> | 2018-09-06 16:46:38 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2018-09-06 16:46:38 +0200 |
commit | d80d9d3731725f7b0585bc1450385ed323b37492 (patch) | |
tree | 612f68b4f63c25702fa572570655e665ff93a0ce | |
parent | f77f41ee95b57c298307257b2ad9bf049110229c (diff) | |
download | novnc-d80d9d3731725f7b0585bc1450385ed323b37492.tar.gz |
Enforce function call spacing
-rw-r--r-- | .eslintrc | 1 | ||||
-rw-r--r-- | tests/test.rfb.js | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 dfbbdf7..70859da 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; |