Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
  • Loading branch information
ncdc committed Aug 15, 2023
1 parent 947dcfc commit d0efd41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/deppy/solver/solver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ var _ = Describe("Entity", func() {
variables := []deppy.Variable{
input.NewSimpleVariable("1", constraint.Mandatory()),
}
s := NewEntitySource(variables)
so := solver.NewDeppySolver(s, s)
so := solver.NewDeppySolver(&VariableSourceStruct{variables: variables})
solution, err := so.Solve(context.Background())
Expect(err).ToNot(HaveOccurred())
Expect(solution).ToNot(BeNil())
Expand Down

0 comments on commit d0efd41

Please sign in to comment.