From bb193adfe0125927f660e98185f31bd61ec56feb Mon Sep 17 00:00:00 2001 From: Solly Ross Date: Mon, 24 Nov 2014 15:16:12 -0500 Subject: Backport: Fixed Erroneous HEXTILE test The HEXTILE test which tested for a background tile followed by an empty tile was only wide enough to actually test for one tile, thus not actually testing the functionality. It now actually uses two tiles, thus actually testing the functionality. (cherry picked from commit 4865278deead91fa58b0779b10f8e6b81d169e0e) --- tests/test.rfb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.rfb.js b/tests/test.rfb.js index fdfb539..ea49e00 100644 --- a/tests/test.rfb.js +++ b/tests/test.rfb.js @@ -1318,7 +1318,7 @@ describe('Remote Frame Buffer Protocol Client', function() { client._display._fb_width = 8; client._display._viewportLoc.w = 8; - var info = [{ x: 0, y: 0, width: 8, height: 4, encoding: 0x05 }]; + var info = [{ x: 0, y: 0, width: 32, height: 4, encoding: 0x05 }]; var rect = []; -- cgit v1.2.1