From 189698bed920dad05351aaf2ed01b63b8ead3221 Mon Sep 17 00:00:00 2001 From: jomo Date: Wed, 27 May 2015 22:38:47 +0200 Subject: [PATCH] add alternative checksums for steve & alex using the latest version of lwip, the images don't have an alpha channel anymore apparently before @94322f3 npm thought 'crafatar/lwip' means git tag v0.0.5 and after that commit, using 'EyalAr/lwip' it noticed there's a v0.0.6 ... ... ... wat. --- test/test.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/test.js b/test/test.js index 11f7094..45c7b0d 100644 --- a/test/test.js +++ b/test/test.js @@ -345,12 +345,12 @@ describe("Crafatar", function() { "avatar with not existing username": { url: "http://localhost:3000/avatars/0?size=16", etag: '"steve"', - crc32: 2416827277 + crc32: [2416827277, 1243826040] }, "avatar with not existing username defaulting to alex": { url: "http://localhost:3000/avatars/0?size=16&default=alex", etag: '"alex"', - crc32: 862751081 + crc32: [862751081, 809395677] }, "avatar with not existing username defaulting to url": { url: "http://localhost:3000/avatars/0?size=16&default=http://example.com", @@ -365,12 +365,12 @@ describe("Crafatar", function() { "helm avatar with not existing username": { url: "http://localhost:3000/avatars/0?size=16&helm", etag: '"steve"', - crc32: 2416827277 + crc32: [2416827277, 1243826040] }, "helm avatar with not existing username defaulting to alex": { url: "http://localhost:3000/avatars/0?size=16&helm&default=alex", etag: '"alex"', - crc32: 862751081 + crc32: [862751081, 809395677] }, "helm avatar with not existing username defaulting to url": { url: "http://localhost:3000/avatars/0?size=16&helm&default=http://example.com", @@ -385,12 +385,12 @@ describe("Crafatar", function() { "avatar with not existing uuid": { url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16", etag: '"steve"', - crc32: 2416827277 + crc32: [2416827277, 1243826040] }, "avatar with not existing uuid defaulting to alex": { url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&default=alex", etag: '"alex"', - crc32: 862751081 + crc32: [862751081, 809395677] }, "avatar with not existing uuid defaulting to url": { url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&default=http://example.com", @@ -405,12 +405,12 @@ describe("Crafatar", function() { "helm avatar with not existing uuid": { url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&helm", etag: '"steve"', - crc32: 2416827277 + crc32: [2416827277, 1243826040] }, "helm avatar with not existing uuid defaulting to alex": { url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&helm&default=alex", etag: '"alex"', - crc32: 862751081 + crc32: [862751081, 809395677] }, "helm avatar with not existing uuid defaulting to url": { url: "http://localhost:3000/avatars/00000000000000000000000000000000?size=16&helm&default=http://example.com",