Skip to content

Commit

Permalink
fix: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mojixcoder committed Aug 17, 2024
1 parent d488fcd commit 78b8a47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions h3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,9 +636,9 @@ func TestCellToVertex(t *testing.T) {

for i, tc := range testCases {
tc := tc

t.Run(fmt.Sprint(i), func(t *testing.T) {

Check failure on line 639 in h3_test.go

View workflow job for this annotation

GitHub Actions / lint (1.18)

only cuddled expressions if assigning variable or using from line above (wsl)
t.Parallel()

vertex := CellToVertex(tc.cell, tc.vertexNum)
assertEqual(t, tc.expectedVertex, vertex)
})
Expand All @@ -659,9 +659,9 @@ func TestCellToVertexes(t *testing.T) {

for _, tc := range testCases {
tc := tc

t.Run(fmt.Sprint(tc.numVertexes), func(t *testing.T) {
t.Parallel()

vertexes := CellToVertexes(tc.cell)
assertEqual(t, tc.numVertexes, len(vertexes))
})
Expand All @@ -681,9 +681,9 @@ func TestVertexToLatLng(t *testing.T) {

for i, tc := range testCases {
tc := tc

t.Run(fmt.Sprint(i), func(t *testing.T) {

Check failure on line 684 in h3_test.go

View workflow job for this annotation

GitHub Actions / lint (1.18)

only cuddled expressions if assigning variable or using from line above (wsl)
t.Parallel()

latLng := VertexToLatLng(tc.vertex)
assertEqualLatLng(t, tc.expectedLatLng, latLng)
})
Expand Down

0 comments on commit 78b8a47

Please sign in to comment.