Skip to content

Commit 978cfcf

Browse files
committed
Update tests (tape ^5.8.1) + expected images
1 parent 4951b99 commit 978cfcf

20 files changed

+153
-151
lines changed

test/compositing.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ test('should stitch input images correctly', (assert) => {
3535

3636
var output_image = new mapnik.Image(512, 512);
3737
output_image.premultiply();
38+
assert.plan(20);
3839
input.forEach(function (item, index) {
3940
item[0].premultiply();
4041
output_image.composite(item[0], {dx: item[1], dy: item[2]}, function(err) {
@@ -59,7 +60,6 @@ test('should stitch input images correctly', (assert) => {
5960
});
6061
});
6162
});
62-
assert.end();
6363
});
6464

6565
test('should fail with bad parameters', (assert) => {
Loading
Loading
Loading
Loading
Loading
Loading
Loading

test/data/vector_tile/nz-1.png

45 Bytes
Loading

test/data/vector_tile/nz-1b.png

55 Bytes
Loading

0 commit comments

Comments
 (0)