diff --git a/test/assets/svgs/text.svg b/test/assets/svgs/text.svg index 5eb2718..e65d646 100755 --- a/test/assets/svgs/text.svg +++ b/test/assets/svgs/text.svg @@ -1,7 +1,7 @@ - + Hello world! diff --git a/test/src/test.pathing.js b/test/src/test.pathing.js index 61d643c..cf71840 100755 --- a/test/src/test.pathing.js +++ b/test/src/test.pathing.js @@ -47,7 +47,7 @@ describe("pathing", () => { var expected = path.join(path2.expected.output.index, "text.png"); Svg2(source).png().toFile(destination).then(() => { assert.isTrue(fs.existsSync(destination), "exported image does not exist."); - looksame(destination, expected, { strict: true }, (err, data) => { + looksame(destination, expected, { strict: false }, (err, data) => { if (data) { assert.isTrue(data.equal, "images are not equal"); }