mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
IGNORE() now supports glob pattern/wildcards (#463)
This commit is contained in:
committed by
Tom Limoncelli
parent
b3e35b56a2
commit
5538de6682
@@ -590,6 +590,12 @@ func makeTests(t *testing.T) []*TestCase {
|
||||
tc("Add a new record - ignoring foo", a("bar", "1.2.3.4"), ignore("foo")),
|
||||
)
|
||||
|
||||
tests = append(tests,
|
||||
tc("Empty"),
|
||||
tc("Create some records", txt("bar.foo", "simple"), a("bar.foo", "1.2.3.4")),
|
||||
tc("Add a new record - ignoring *.foo", a("bar", "1.2.3.4"), ignore("*.foo")),
|
||||
)
|
||||
|
||||
// R53_ALIAS
|
||||
if !providers.ProviderHasCabability(*providerToRun, providers.CanUseRoute53Alias) {
|
||||
t.Log("Skipping Route53 ALIAS Tests because provider does not support them")
|
||||
|
||||
Reference in New Issue
Block a user