Skip to content

Commit

Permalink
home: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
schzhn committed Jun 22, 2023
1 parent 64eb519 commit ac0b722
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/home/dns_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ func TestApplyAdditionalFiltering_blockedServices(t *testing.T) {
filtering.InitModule()

var (
globalBlockedServices = []string{"ok"}
clientBlockedServices = []string{"ok", "mail_ru", "vk"}
nonValidBlockedServices = []string{"non_valid"}
globalBlockedServices = []string{"ok"}
clientBlockedServices = []string{"ok", "mail_ru", "vk"}
invalidBlockedServices = []string{"invalid"}

err error
)
Expand All @@ -40,7 +40,7 @@ func TestApplyAdditionalFiltering_blockedServices(t *testing.T) {
UseOwnBlockedServices: true,
},
"client_4": {
BlockedServices: nonValidBlockedServices,
BlockedServices: invalidBlockedServices,
UseOwnBlockedServices: true,
},
}
Expand All @@ -64,7 +64,7 @@ func TestApplyAdditionalFiltering_blockedServices(t *testing.T) {
id: "client_3",
wantLen: len(clientBlockedServices),
}, {
name: "custom_settings_non_valid",
name: "custom_settings_invalid",
id: "client_4",
wantLen: 0,
}}
Expand Down

0 comments on commit ac0b722

Please sign in to comment.