mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
NAMEDOTCOM: add TXTMulti capability (#299)
* add TXTMulti capability to the namedotcom provider * run go generate * escape multi txt records before sending to the API
This commit is contained in:
committed by
Tom Limoncelli
parent
c4ec6c8246
commit
91e2cf67ef
@@ -466,11 +466,17 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
txtmulti("foo2", []string{"one", "two"}),
|
||||
txtmulti("foo3", []string{"eh", "bee", "cee"}),
|
||||
),
|
||||
tc("Create TXTMulti with quotes",
|
||||
txtmulti("foo1", []string{"simple"}),
|
||||
txtmulti("foo2", []string{"o\"ne", "tw\"o"}),
|
||||
txtmulti("foo3", []string{"eh", "bee", "cee"}),
|
||||
),
|
||||
tc("Change TXTMulti",
|
||||
txtmulti("foo1", []string{"dimple"}),
|
||||
txtmulti("foo2", []string{"fun", "two"}),
|
||||
txtmulti("foo3", []string{"eh", "bzz", "cee"}),
|
||||
),
|
||||
tc("Empty"),
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user