refactor: Rename project from dns-helper to ekdns across all files and documentation
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"dns-helper/hostfile"
|
||||
"ekdns/hostfile"
|
||||
)
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
@@ -253,7 +253,7 @@ func TestAssembleContent_EmptyManagedOmitsBlock(t *testing.T) {
|
||||
t.Fatalf("expected 2 lines (no managed block), got %d: %v", len(result), result)
|
||||
}
|
||||
for _, line := range result {
|
||||
if strings.Contains(line, "DNSHelper") {
|
||||
if strings.Contains(line, "ekDNSHelper") {
|
||||
t.Errorf("managed block markers should be absent when managed is empty: %v", result)
|
||||
}
|
||||
}
|
||||
@@ -353,7 +353,7 @@ func TestRemoveAll_AssembleContentOmitsBlock(t *testing.T) {
|
||||
t.Fatalf("expected 2 lines with no managed block, got %d: %v", len(result), result)
|
||||
}
|
||||
for _, line := range result {
|
||||
if strings.Contains(line, "DNSHelper") {
|
||||
if strings.Contains(line, "ekDNSHelper") {
|
||||
t.Errorf("managed block markers should be absent after RemoveAll: %v", result)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user