summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/util/util_test.go2
-rw-r--r--state_test.go2
2 files changed, 1 insertions, 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{}