From 6ac157ca9476a51660d1f440f4069c4fb4abfd4e Mon Sep 17 00:00:00 2001 From: "piguchi@geolonia.com" Date: Wed, 31 Jul 2024 23:36:05 +0900 Subject: [PATCH] =?UTF-8?q?=E9=96=A2=E6=95=B0=E5=90=8D=E3=81=AE=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/testByGetDataType.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testByGetDataType.ts b/test/testByGetDataType.ts index 7c776d2..a96f076 100644 --- a/test/testByGetDataType.ts +++ b/test/testByGetDataType.ts @@ -14,14 +14,14 @@ describe('Test by return value', () => { // 件数を取得する it('Get the number of cases', () => { const gl = new GeoJsonlookfor(geojson); - const res = gl.lookfor('スイーツ').getFeatureCount(); + const res = gl.match('スイーツ').getFeatureCount(); assert.deepEqual(4, res); }); // 指定した件数分featureを取得する it('Get the number of cases', () => { const gl = new GeoJsonlookfor(geojson); - const res = gl.lookfor('スイーツ').getGeoJSON(2); + const res = gl.match('スイーツ').getGeoJSON(2); assert.deepEqual({ "type": "FeatureCollection", "features": [