We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3239399 commit 1c51f11Copy full SHA for 1c51f11
1 file changed
sjsonnet/test/src/sjsonnet/EvaluatorTests.scala
@@ -152,7 +152,8 @@ object EvaluatorTests extends TestSuite {
152
) ==> ujson.Obj("x" -> ujson.Num(3))
153
// Locals which reference variables from the comprehension:
154
eval(
155
- """{local x2 = k*2, [std.toString(k)]: x2 for k in [1]}"""
+ """{local x2 = k*2, [std.toString(k)]: x2 for k in [1]}""",
156
+ useNewEvaluator = useNewEvaluator
157
) ==> ujson.Obj("1" -> ujson.Num(2))
158
// Regression test for https://github.com/databricks/sjsonnet/issues/357
159
// self references in object comprehension locals are properly rebound during inheritance:
0 commit comments