1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CICD: Add stringer (#2714)

This commit is contained in:
Tom Limoncelli
2023-12-11 07:21:49 -05:00
committed by GitHub
parent 3ad9560b3a
commit 9e1cb0fefd
2 changed files with 6 additions and 1 deletions

View File

@ -33,6 +33,11 @@ jobs:
with:
path: "/tmp/test-results"
# Stringer is needed because .goreleaser includes "go generate ./..."
- name: Install stringer
run: |
go install golang.org/x/tools/cmd/stringer@latest
# For some reason goreleaser isn't correctly setting the version
# string used by "dnscontrol version". Therefore, we're forcing the
# string using the GORELEASER_CURRENT_TAG feature.

View File

@ -1126,7 +1126,7 @@ func makeTests(t *testing.T) []*TestGroup {
tc("TXT with semicolon ws", txt("foosc2", `wssemi ; colon`)),
tc("TXT interior ws", txt("foosp", "with spaces")),
tc("TXT leading ws", txt("foowsb", " leadingspace")),
//tc("TXT leading ws", txt("foowsb", " leadingspace")),
tc("TXT trailing ws", txt("foows1", "trailingws ")),
// Vultr syntax-checks TXT records with SPF contents.