From 57705feadd598c9a14df53b83161b8f020731bd6 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 16 Feb 2023 16:03:46 +0100 Subject: Format: Run gofumpt --- client/client_test.go | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'client/client_test.go') 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()) } } - } -- cgit v1.2.3