Skip to content

Commit

Permalink
Fix test issues from underscore change (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
LHeggy committed Mar 12, 2024
1 parent b36fc31 commit 35a8c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expr/js_eval_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ var _ = Describe("Javascript evaluation", func() {

It("handles possible null values with _.get", func() {
nestedSrc := "_.get($.metadata, \"badKey\", \"default value\")"
evaluatedResult, err := EvaluateSingleValue[string](ctx, nestedSrc, sourceEntry)
evaluatedResult, err := EvaluateSingleValue[string](ctx, nestedSrc, sourceEntry, logger)
Expect(err).NotTo(HaveOccurred())
Expect(evaluatedResult).To(Equal("default value"))
})
Expand Down

0 comments on commit 35a8c5f

Please sign in to comment.