Rename format tests for consistency

This commit is contained in:
Tim Schaub
2016-08-06 11:52:05 -06:00
parent 386e215b47
commit e8205a8293
15 changed files with 0 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
goog.provide('ol.test.XSD');
describe('ol.format.XSD', function() {
describe('readDateTime', function() {
it('can handle non-Zulu time zones', function() {
var node = document.createElement('time');
node.textContent = '2016-07-12T15:00:00+03:00';
expect(new Date(ol.format.XSD.readDateTime(node) * 1000).toISOString()).to.eql('2016-07-12T12:00:00.000Z');
});
});
});
goog.require('ol.format.XSD');