19 lines
650 B
Diff
19 lines
650 B
Diff
Description: Skip TestClient in modules/client_test.go
|
|
TestClient requires network access which is not allowed for Debian packaging.
|
|
Author: Anthony Fok <foka@debian.org>
|
|
Origin: vendor
|
|
Forwarded: not-needed
|
|
Last-Update: 2019-08-04
|
|
---
|
|
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|
--- a/modules/client_test.go
|
|
+++ b/modules/client_test.go
|
|
@@ -27,6 +27,7 @@
|
|
)
|
|
|
|
func TestClient(t *testing.T) {
|
|
+ t.Skip("skip test as network access is not allowed during Debian package build")
|
|
if hugo.GoMinorVersion() < 12 {
|
|
// https://github.com/golang/go/issues/26794
|
|
// There were some concurrent issues with Go modules in < Go 12.
|