Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit d0efd41

Browse files
committed
Fix compile error
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
1 parent 947dcfc commit d0efd41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/deppy/solver/solver_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ var _ = Describe("Entity", func() {
8888
variables := []deppy.Variable{
8989
input.NewSimpleVariable("1", constraint.Mandatory()),
9090
}
91-
s := NewEntitySource(variables)
92-
so := solver.NewDeppySolver(s, s)
91+
so := solver.NewDeppySolver(&VariableSourceStruct{variables: variables})
9392
solution, err := so.Solve(context.Background())
9493
Expect(err).ToNot(HaveOccurred())
9594
Expect(solution).ToNot(BeNil())

0 commit comments

Comments
 (0)