Skip to content

Commit

Permalink
fix tests for go <= 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
zekroTJA committed Mar 9, 2021
1 parent e8e3b1e commit d533e81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.12, 1.13, 1.14, ^1.14]
go-version: [1.12, 1.13, 1.14, 1.15, ^1.16]
steps:

- name: Set up Go 1.x
Expand Down
2 changes: 1 addition & 1 deletion timedmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func TestGetExpiredConcurrent(t *testing.T) {
tm := New(dCleanupTick)

wg := sync.WaitGroup{}
for i := 0; i < 50_000; i++ {
for i := 0; i < 50000; i++ {
wg.Add(1)
go func() {
defer wg.Done()
Expand Down

0 comments on commit d533e81

Please sign in to comment.