summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-09-06 16:46:38 +0200
committerPierre Ossman <ossman@cendio.se>2018-09-06 16:46:38 +0200
commitd80d9d3731725f7b0585bc1450385ed323b37492 (patch)
tree612f68b4f63c25702fa572570655e665ff93a0ce
parentf77f41ee95b57c298307257b2ad9bf049110229c (diff)
downloadnovnc-d80d9d3731725f7b0585bc1450385ed323b37492.tar.gz
Enforce function call spacing
-rw-r--r--.eslintrc1
-rw-r--r--tests/test.rfb.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index b156d3e..f0c27a9 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 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;