diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-16 18:48:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-16 18:48:52 +0000 |
commit | f265f17242b04ae036b4dc174fa95401d895dbc5 (patch) | |
tree | 8daa848087a673b8bf5dad576b0a08048d551da7 /net-misc/croc/files | |
parent | d08ea43e9ada434f42f4be8e115b67ab22ce38af (diff) |
gentoo auto-resync : 16:03:2024 - 18:48:51
Diffstat (limited to 'net-misc/croc/files')
-rw-r--r-- | net-misc/croc/files/croc-disable-network-tests-r1.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/net-misc/croc/files/croc-disable-network-tests-r1.patch b/net-misc/croc/files/croc-disable-network-tests-r1.patch deleted file mode 100644 index 04540e14b9d4..000000000000 --- a/net-misc/croc/files/croc-disable-network-tests-r1.patch +++ /dev/null @@ -1,32 +0,0 @@ -Disable tests that fail with network-sandbox - ---- a/src/utils/utils_test.go -+++ b/src/utils/utils_test.go -@@ -7,7 +7,6 @@ import ( - "log" - "math/rand" - "os" -- "strings" - "testing" - - "github.com/schollz/croc/v9/src/models" -@@ -189,19 +188,6 @@ func TestHashFile(t *testing.T) { - assert.Equal(t, "e66c561610ad51e2", fmt.Sprintf("%x", hashed)) - } - --func TestPublicIP(t *testing.T) { -- ip, err := PublicIP() -- fmt.Println(ip) -- assert.True(t, strings.Contains(ip, ".") || strings.Contains(ip, ":")) -- assert.Nil(t, err) --} -- --func TestLocalIP(t *testing.T) { -- ip := LocalIP() -- fmt.Println(ip) -- assert.True(t, strings.Contains(ip, ".") || strings.Contains(ip, ":")) --} -- - func TestGetRandomName(t *testing.T) { - name := GetRandomName() - fmt.Println(name) |