Revert "Do not allow multiple versions in the results"

This reverts commit 15534ce253.
This commit is contained in:
Ettore Di Giacinto
2019-12-13 23:05:09 +01:00
parent 15534ce253
commit 926f636dff
5 changed files with 14 additions and 119 deletions

View File

@@ -120,7 +120,7 @@ var _ = Describe("Recipe", func() {
s := solver.NewSolver(pkg.NewInMemoryDatabase(false), tree, tree)
solution, err := s.Install([]pkg.Package{pack})
Expect(err).ToNot(HaveOccurred())
// Expect(len(solution)).To(Equal(8))
Expect(len(solution)).To(Equal(10))
var allSol string
for _, sol := range solution {
@@ -128,7 +128,7 @@ var _ = Describe("Recipe", func() {
}
Expect(allSol).To(ContainSubstring("app-crypt/pinentry-base 1.0.0 installed"))
Expect(allSol).ToNot(ContainSubstring("app-crypt/pinentry 1.1.0-r2 installed"))
Expect(allSol).To(ContainSubstring("app-crypt/pinentry 1.1.0-r2 not installed"))
Expect(allSol).To(ContainSubstring("app-crypt/pinentry 1.0.0-r2 installed"))
})
})