From f7bf8c831927e3ade93ffe499b04f4013d641b93 Mon Sep 17 00:00:00 2001 From: Jasper van de Gronde Date: Mon, 15 Aug 2016 15:40:25 +0200 Subject: [PATCH] Corrected path in test.js. Expected.jpeg was not prefixed with a path, even though it is in the test subdirectory. This caused a problem when running the tests. --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index d90f650..829c5aa 100644 --- a/test/test.js +++ b/test/test.js @@ -143,7 +143,7 @@ tap("save-pixels saving a RGB png", function(t) { tap("save-pixels saving a RGB jpeg", function(t) { var x = zeros([64, 64, 3]) var actualFilepath = "temp.jpeg" - var expectedFilepath = "expected.jpeg" + var expectedFilepath = "test/expected.jpeg" for(var i=0; i<64; ++i) { for(var j=0; j<64; ++j) {