From 47d8fafada8c7c1377b9172862f25c576c4c3c08 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 4 Oct 2022 15:00:22 +0200 Subject: Util Test: Remove function signature comment --- internal/util/util_test.go | 2 -- state_test.go | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/util/util_test.go b/internal/util/util_test.go index 77af603..f671251 100644 --- a/internal/util/util_test.go +++ b/internal/util/util_test.go @@ -120,8 +120,6 @@ func Test_ReplaceWAYF(t *testing.T) { } func Test_GetLanguageMatched(t *testing.T) { - // func GetLanguageMatched(languageMap map[string]string, languageTag string) string { - // exact match returned := GetLanguageMatched(map[string]string{"en": "test", "de": "test2"}, "en") if returned != "test" { diff --git a/state_test.go b/state_test.go index 82d88e2..849c735 100644 --- a/state_test.go +++ b/state_test.go @@ -351,7 +351,7 @@ func Test_invalid_profile_corrected(t *testing.T) { } } -// Test if an invalid profile will be corrected +// Test if prefer tcp is handled correctly by checking the returned config and config type func Test_prefer_tcp(t *testing.T) { serverURI := getServerURI(t) state := &VPNState{} -- cgit v1.2.3