From ac0b722d1deef664ab464e0bff387542e027bd3f Mon Sep 17 00:00:00 2001 From: Stanislav Chzhen Date: Thu, 22 Jun 2023 14:32:03 +0300 Subject: [PATCH] home: fix typo --- internal/home/dns_internal_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/home/dns_internal_test.go b/internal/home/dns_internal_test.go index 7b7e0fb22af..9450cdf6237 100644 --- a/internal/home/dns_internal_test.go +++ b/internal/home/dns_internal_test.go @@ -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 ) @@ -40,7 +40,7 @@ func TestApplyAdditionalFiltering_blockedServices(t *testing.T) { UseOwnBlockedServices: true, }, "client_4": { - BlockedServices: nonValidBlockedServices, + BlockedServices: invalidBlockedServices, UseOwnBlockedServices: true, }, } @@ -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, }}