mirror of
https://github.com/mudler/luet.git
synced 2025-09-16 07:10:29 +00:00
Extend the test also for the packages that doesn't have a special ordering
This commit is contained in:
@@ -421,6 +421,16 @@ var _ = Describe("Solver", func() {
|
||||
} else {
|
||||
equality++
|
||||
}
|
||||
if solution[4].Package.GetName() != "A" {
|
||||
disequality++
|
||||
} else {
|
||||
equality++
|
||||
}
|
||||
if solution[5].Package.GetName() != "C" {
|
||||
disequality++
|
||||
} else {
|
||||
equality++
|
||||
}
|
||||
})
|
||||
It("Expect disequality", func() {
|
||||
Expect(disequality).ToNot(Equal(0))
|
||||
|
Reference in New Issue
Block a user