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

Don't test 0-length TXT records.

This commit is contained in:
Tom Limoncelli
2023-10-25 13:05:08 -04:00
parent b6acb59ccc
commit 99f808b6ed

View File

@@ -1073,7 +1073,8 @@ func makeTests(t *testing.T) []*TestGroup {
// of record. When the provider fixes the bug or changes behavior,
// update the AuditRecords().
tc("a 0-byte TXT", txt("foo0", "")),
// Commented this one out. Nobody supports this or needs it.
//tc("a 0-byte TXT", txt("foo0", "")),
tc("a 255-byte TXT", txt("foo255", strings.Repeat("C", 255))),
tc("a 256-byte TXT", txt("foo256", strings.Repeat("D", 256))),