浏览代码

Skip TestHttpsInsecure test on nacl (#145)

Fixes #144
Alberto Donizetti 7 年前
父节点
当前提交
b17d6e74da
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      internal/driver/fetch_test.go

+ 4
- 0
internal/driver/fetch_test.go 查看文件

241
 }
241
 }
242
 
242
 
243
 func TestHttpsInsecure(t *testing.T) {
243
 func TestHttpsInsecure(t *testing.T) {
244
+	if runtime.GOOS == "nacl" {
245
+		t.Skip("test assumes tcp available")
246
+	}
247
+
244
 	baseVars := pprofVariables
248
 	baseVars := pprofVariables
245
 	pprofVariables = baseVars.makeCopy()
249
 	pprofVariables = baseVars.makeCopy()
246
 	defer func() { pprofVariables = baseVars }()
250
 	defer func() { pprofVariables = baseVars }()