Skip to content

Commit

Permalink
chore: add test on go1.18, will not test on go < 1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Apr 15, 2022
1 parent 42daae9 commit 086f1f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go_version: [1.13, 1.14, 1.15, 1.16, 1.17]
go_version: [1.15, 1.16, 1.17, 1.18]

steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: true
matrix:
go: [1.16]
go: [1.17]

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion dotnev/dotenv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func TestLoadFromMap(t *testing.T) {
assert.Equal(t, 23, Int("dont_env_test2"))
} else {
assert.Equal(t, "val1", Get("dont_env_test1"))
assert.Equal(t, 0, Int("dont_env_test2"))
assert.Equal(t, 23, Int("dont_env_test2"))
}

assert.Equal(t, 20, Int("dont_env_test1", 20))
Expand Down

0 comments on commit 086f1f4

Please sign in to comment.