From 7784b3ddfd6a30465f6f931aeaaea12dcf734f14 Mon Sep 17 00:00:00 2001 From: Tuan Pham Date: Fri, 13 Sep 2024 19:03:57 -0500 Subject: [PATCH] update rules --- .../AWSLocationGeoPluginClientBehaviorTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AmplifyPlugins/Geo/Tests/AWSLocationGeoPluginTests/AWSLocationGeoPluginClientBehaviorTests.swift b/AmplifyPlugins/Geo/Tests/AWSLocationGeoPluginTests/AWSLocationGeoPluginClientBehaviorTests.swift index a26a9e14ff..e86b6db90f 100644 --- a/AmplifyPlugins/Geo/Tests/AWSLocationGeoPluginTests/AWSLocationGeoPluginClientBehaviorTests.swift +++ b/AmplifyPlugins/Geo/Tests/AWSLocationGeoPluginTests/AWSLocationGeoPluginClientBehaviorTests.swift @@ -58,7 +58,7 @@ class AWSLocationGeoPluginClientBehaviorTests: AWSLocationGeoPluginTestBase { coordinates.longitude, coordinates.latitude ] - request.filterCountries = options.countries?.map(\.code) + request.filterCountries = options.countries?.map { $0.code } request.maxResults = options.maxResults ?? 0 request.indexName = (options.pluginOptions as? AWSLocationGeoPluginSearchOptions)?.searchIndex mockLocation.verifySearchPlaceIndexForText(request)