Marco Mariani 1 年之前
父节点
当前提交
fcd6c468c4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      pkg/cwhub/hub_test.go

+ 1 - 0
pkg/cwhub/hub_test.go

@@ -58,6 +58,7 @@ func TestDownloadIndex(t *testing.T) {
 	}
 
 	err = hub.remote.DownloadIndex(tmpIndex.Name())
+	require.NoError(t, err)
 	// XXX: this is not failing
 	//	cstest.RequireErrorContains(t, err, "failed http request for hub index: Get")