Skip to content

Commit

Permalink
関数名の修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sugama-satsuki committed Jul 31, 2024
1 parent 26b41f7 commit 6ac157c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testByGetDataType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 6ac157c

Please sign in to comment.