Ver Fonte

fix lint

Marco Mariani há 1 ano atrás
pai
commit
fcd6c468c4
1 ficheiros alterados com 1 adições e 0 exclusões
  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())
 	err = hub.remote.DownloadIndex(tmpIndex.Name())
+	require.NoError(t, err)
 	// XXX: this is not failing
 	// XXX: this is not failing
 	//	cstest.RequireErrorContains(t, err, "failed http request for hub index: Get")
 	//	cstest.RequireErrorContains(t, err, "failed http request for hub index: Get")