Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit f84adb4

Browse files
committed
Fix test.
1 parent aedf4ff commit f84adb4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/apply.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ namespace node_osmium {
104104
}
105105
}
106106

107-
}; // struct visitor_before_after
107+
}; // struct visitor_before_after_type
108108

109109
typedef boost::variant<location_handler_type&, JSHandler&, osmium::area::MultipolygonCollector<osmium::area::Assembler>::HandlerPass2&> some_handler_type;
110110

test/handler.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ describe('handler', function() {
217217

218218
var reader = new osmium.BasicReader(__dirname + "/data/winthrop.osm", { 'node': true, 'way': true });
219219
osmium.apply(reader, handler);
220+
handler.end();
220221
});
221222

222223
it('should be able to call two handlers one after the other', function() {

0 commit comments

Comments
 (0)