mirror of
https://github.com/coredns/coredns.git
synced 2025-12-06 10:25:10 -05:00
plugin/file: fix label offset problem in ClosestEncloser (#7465)
Signed-off-by: yuwenchao <ywc689@163.com>
This commit is contained in:
@@ -21,6 +21,7 @@ func TestClosestEncloser(t *testing.T) {
|
||||
{"blaat.www.miek.nl.", "www.miek.nl."},
|
||||
{"www.blaat.miek.nl.", "miek.nl."},
|
||||
{"blaat.a.miek.nl.", "a.miek.nl."},
|
||||
{"blaat.z.a.miek.nl.", "a.miek.nl."},
|
||||
}
|
||||
|
||||
for _, tc := range tests {
|
||||
|
||||
Reference in New Issue
Block a user