Skip to content

Commit

Permalink
Test and build with go 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Aug 30, 2021
1 parent 36984ab commit a9994e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI
on: [push, pull_request]
env:
go-version: '1.16.x'
go-version: '1.17.x'
postgis-version: '2.5'
jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestParseDisallowedNetworks(t *testing.T) {
// test with invalid CSV
cfg.DisallowedNetworks = `"127.0.0.1`
_, _, err = cfg.ParseDisallowedNetworks()
assert.EqualError(t, err, `record on line 1; parse error on line 2, column 0: extraneous or missing " in quoted-field`)
assert.EqualError(t, err, `parse error on line 1, column 11: extraneous or missing " in quoted-field`)

// test with invalid IP
cfg.DisallowedNetworks = `127.0.1`
Expand Down

0 comments on commit a9994e6

Please sign in to comment.