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

BUG: diff2 doesn't process IGNORE_TARGET() correctly (#2338)

Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
Tom Limoncelli
2023-05-08 22:29:58 -04:00
committed by GitHub
parent 444b48bb0a
commit ace2242daf
4 changed files with 120 additions and 38 deletions

View File

@ -88,8 +88,8 @@ func handsoffHelper(t *testing.T, existingZone, desiredJs string, noPurge bool,
if resultWanted != resultActual {
testifyrequire.Equal(t,
resultActual,
resultWanted,
resultActual,
"GOT =\n```\n%s```\nWANT=\n```%s```\nINPUTS=\n```\n%s\n```\n",
resultActual,
resultWanted,
@ -230,7 +230,7 @@ D("f.com", "none",
`
handsoffHelper(t, existingZone, desiredJs, true, `
IGNORED:
FOREIGN:
_2222222222222222.cr CNAME _333333.nnn.acm-validations.aws.
FOREIGN:
`)
}