Skip to content

Commit

Permalink
Updated test for parsing time in gpx v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Helge Stensrud committed Jun 11, 2014
1 parent 4d00f62 commit bc7ec08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/gpx-v1.1-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ module.exports = {
test.equal(result.metadata.time, "2009-10-17T22:58:43Z");
test.equal(result.tracks.length, 1);
test.equal(result.tracks[0].name, 'Example GPX Document');
test.equal(result.tracks[0].segments[0][0].time, new Date('2009-10-17T18:37:26Z').toString());
test.done();
});

Expand Down

0 comments on commit bc7ec08

Please sign in to comment.