⚙️ Small fixups and enhancements

This commit is contained in:
Ettore Di Giacinto
2022-04-27 18:59:41 +02:00
committed by mudler
parent e70a543f42
commit c363c916d6
10 changed files with 95 additions and 78 deletions

View File

@@ -1213,7 +1213,7 @@ var _ = Describe("Solver", func() {
}
val, err := s.Conflicts(A, dbInstalled.World())
Expect(err.Error()).To(Equal("\n/B-"))
Expect(err.Error()).To(Equal("\nB"))
Expect(val).To(BeTrue())
})
@@ -1237,7 +1237,7 @@ var _ = Describe("Solver", func() {
}
val, err := s.Conflicts(D, dbInstalled.World())
Expect(err.Error()).To(Or(Equal("\n/A-\n/B-"), Equal("\n/B-\n/A-")))
Expect(err.Error()).To(Or(Equal("\nA\nB"), Equal("\nB\nA")))
Expect(val).To(BeTrue())
})