Skip to content

Commit

Permalink
refactor: run gofmt with simplify flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ferhatelmas authored and aseure committed Dec 22, 2017
1 parent a30d0c5 commit 1d6924d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions algoliasearch/index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1190,10 +1190,10 @@ func TestGeoSearchParameters(t *testing.T) {
t.Log("TestGeoSearchParameters: Test valid parameters")
{
validParams := []Map{
Map{"insideBoundingBox": "1.0,2.0,3.0,4.0"},
Map{"insideBoundingBox": "1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0"},
Map{"insidePolygon": "1.0,2.0,3.0,4.0,5.0,6.0"},
Map{"insidePolygon": "[[1.0,2.0,3.0,4.0,5.0,6.0],[1.0,2.0,3.0,4.0,5.0,6.0]]"},
{"insideBoundingBox": "1.0,2.0,3.0,4.0"},
{"insideBoundingBox": "1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0"},
{"insidePolygon": "1.0,2.0,3.0,4.0,5.0,6.0"},
{"insidePolygon": "[[1.0,2.0,3.0,4.0,5.0,6.0],[1.0,2.0,3.0,4.0,5.0,6.0]]"},
}

for _, params := range validParams {
Expand Down

0 comments on commit 1d6924d

Please sign in to comment.