summaryrefslogtreecommitdiff
path: root/client/client_test.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-02-16 16:03:46 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2023-02-16 16:03:46 +0100
commit57705feadd598c9a14df53b83161b8f020731bd6 (patch)
tree0320e7739eca0c0afbe7087340d017413940c31e /client/client_test.go
parent0566c505b1462e47a9dc44d7b26534b41aca1c4f (diff)
Format: Run gofumpt
Diffstat (limited to 'client/client_test.go')
-rw-r--r--client/client_test.go13
1 files changed, 6 insertions, 7 deletions
diff --git a/client/client_test.go b/client/client_test.go
index 5a5a39e..295cce5 100644
--- a/client/client_test.go
+++ b/client/client_test.go
@@ -3,9 +3,9 @@ package client
import (
"fmt"
"net/http"
+ "net/url"
"os"
"os/exec"
- "net/url"
"strconv"
"strings"
"testing"
@@ -409,12 +409,12 @@ func TestPreferTCP(t *testing.T) {
}
func TestInvalidClientID(t *testing.T) {
- tests := map[string]bool {
- "test": false,
+ tests := map[string]bool{
+ "test": false,
"org.letsconnect-vpn.app.linux": true,
- "org.letsconnect-vpn": false,
- "org.letsconnect-vpn.app": false,
- "org.letsconnect-vpn.linuxsd": false,
+ "org.letsconnect-vpn": false,
+ "org.letsconnect-vpn.app": false,
+ "org.letsconnect-vpn.linuxsd": false,
"org.letsconnect-vpn.app.macos": true,
}
@@ -443,5 +443,4 @@ func TestInvalidClientID(t *testing.T) {
t.Fatalf("register error has invalid prefix: %v", registerErr.Error())
}
}
-
}