Merge branch 'b5/registry' into feat/registry-milestone
This commit is contained in:
@@ -164,7 +164,11 @@ func TestAModuleOutsideTheTreeCountsByVersionAndChecksum(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
ext := pkgs["git.novox.be/novox/mesh-sdk/go/buildstep"]
|
||||
// The capture holds the one package go list was asked about, whichever package that was.
|
||||
var ext *goPackage
|
||||
for _, p := range pkgs {
|
||||
ext = p
|
||||
}
|
||||
if ext == nil || ext.Module == nil || ext.Module.Sum == "" || ext.Module.Version == "" || ext.Module.Main {
|
||||
t.Fatalf("the capture holds no external package with a version and a checksum: %+v", ext)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user