Skip to content

Commit e1839c5

Browse files
committed
Fix failing toJSON() Layer unit test
1 parent 15d3dca commit e1839c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/groovy/geoscript/layer/LayerTestCase.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ class LayerTestCase {
258258
layer1.toJSON(out)
259259
String json = out.toString()
260260
assertNotNull json
261-
assertTrue json.startsWith("{\"type\":\"FeatureCollection\",\"features\":[")
261+
assertTrue json.startsWith("{\"type\":\"FeatureCollection\"")
262262
json = layer1.toJSONString()
263-
assertTrue json.startsWith("{\"type\":\"FeatureCollection\",\"features\":[")
263+
assertTrue json.startsWith("{\"type\":\"FeatureCollection\"")
264264
}
265265

266266
@Test void toKML() {

0 commit comments

Comments
 (0)