diff --git a/test/support/test-client.js b/test/support/test-client.js index 23a7741e..b79ce9e7 100644 --- a/test/support/test-client.js +++ b/test/support/test-client.js @@ -198,7 +198,7 @@ TestClient.prototype.getTile = function(z, x, y, params, callback) { } }; - var isPng = format === 'png' || format === 'torque.png'; + var isPng = format.match(/png$/); if (isPng) { request.encoding = 'binary';