mirror of
https://github.com/mudler/luet.git
synced 2025-09-08 18:49:39 +00:00
Revert "Do not allow multiple versions in the results"
This reverts commit 15534ce253
.
This commit is contained in:
@@ -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"))
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user