mirror of
https://github.com/google/go-jsonnet.git
synced 2025-12-24 18:41:07 +01:00
6 lines
255 B
Jsonnet
6 lines
255 B
Jsonnet
std.assertEqual(({ x: 1, y: self.x } { x: 2 }).y, 2) &&
|
|
std.assertEqual(std.native("concat")("foo", "bar"), "foobar") &&
|
|
std.assertEqual(std.native("return_types")(), {a: [1, 2, 3, null, []], b: 1, c: true, d: null, e: {x: 1, y: 2, z: ["foo"]}}) &&
|
|
true
|
|
|