From d654833c379a557284f823df025bcf642ad11397 Mon Sep 17 00:00:00 2001 From: Dave Cunningham Date: Tue, 25 Oct 2022 21:57:28 +0100 Subject: [PATCH] Add missing files --- python/testdata/basic_check.jsonnet | 5 +++++ python/testdata/trivial.jsonnet | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 python/testdata/basic_check.jsonnet create mode 100644 python/testdata/trivial.jsonnet diff --git a/python/testdata/basic_check.jsonnet b/python/testdata/basic_check.jsonnet new file mode 100644 index 000000000..095af71ab --- /dev/null +++ b/python/testdata/basic_check.jsonnet @@ -0,0 +1,5 @@ +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 + diff --git a/python/testdata/trivial.jsonnet b/python/testdata/trivial.jsonnet new file mode 100644 index 000000000..199eb08ca --- /dev/null +++ b/python/testdata/trivial.jsonnet @@ -0,0 +1,2 @@ +// used for testing imports +42