diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12ba18f10..b26f364e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/config/config_test.go b/config/config_test.go index 7ab175e34..1e27f6b32 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -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`