Rename _ol_format_GML2_ to GML2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import _ol_Feature_ from '../../../../src/ol/Feature.js';
|
||||
import _ol_format_GML_ from '../../../../src/ol/format/GML.js';
|
||||
import _ol_format_GML2_ from '../../../../src/ol/format/GML2.js';
|
||||
import GML2 from '../../../../src/ol/format/GML2.js';
|
||||
import LineString from '../../../../src/ol/geom/LineString.js';
|
||||
import LinearRing from '../../../../src/ol/geom/LinearRing.js';
|
||||
import MultiLineString from '../../../../src/ol/geom/MultiLineString.js';
|
||||
@@ -23,7 +23,7 @@ describe('ol.format.GML2', function() {
|
||||
|
||||
var format;
|
||||
beforeEach(function() {
|
||||
format = new _ol_format_GML2_({srsName: 'CRS:84'});
|
||||
format = new GML2({srsName: 'CRS:84'});
|
||||
});
|
||||
|
||||
describe('#readFeatures', function() {
|
||||
@@ -32,7 +32,7 @@ describe('ol.format.GML2', function() {
|
||||
var url = 'spec/ol/format/gml/osm-wfs-10.xml';
|
||||
afterLoadText(url, function(xml) {
|
||||
try {
|
||||
features = new _ol_format_GML2_().readFeatures(xml);
|
||||
features = new GML2().readFeatures(xml);
|
||||
} catch (e) {
|
||||
done(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user