mirror of
https://github.com/coredns/coredns.git
synced 2025-10-29 01:04:15 -04:00
only a * by itself is wild (#488)
This commit is contained in:
committed by
Miek Gieben
parent
166c822d91
commit
a1215974ee
@@ -11,9 +11,9 @@ var testdataSymbolContainsWildcard = []struct {
|
||||
{"mynamespace", false},
|
||||
{"*", true},
|
||||
{"any", true},
|
||||
{"my*space", true},
|
||||
{"*space", true},
|
||||
{"myname*", true},
|
||||
{"my*space", false},
|
||||
{"*space", false},
|
||||
{"myname*", false},
|
||||
}
|
||||
|
||||
func TestSymbolContainsWildcard(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user