git.delta.rocks / jrsonnet / refs/commits / 2b1a57eab91a

difftreelog

test add new golden files

ykywukvkYaroslav Bolyukin2026-04-25parent: #48e3836.patch.diff
in: master

12 files changed

addedtests/cpp_test_suite_golden_override_ir_parser/error.flatMap_array_typecheck.jsonnet.goldendiffbeforeafterboth
--- /dev/null
+++ b/tests/cpp_test_suite_golden_override_ir_parser/error.flatMap_array_typecheck.jsonnet.golden
@@ -0,0 +1,2 @@
+runtime error: in std.join all items should be arrays
+    error.flatMap_array_typecheck.jsonnet:1:12-45: function <builtin_flatmap> call
\ No newline at end of file
addedtests/cpp_test_suite_golden_override_ir_parser/error.flatMap_seq_typecheck.jsonnet.goldendiffbeforeafterboth
--- /dev/null
+++ b/tests/cpp_test_suite_golden_override_ir_parser/error.flatMap_seq_typecheck.jsonnet.golden
@@ -0,0 +1,5 @@
+type error: every failed from array | string:
+  - expected array, got object
+  - expected string, got object
+    argument <arr> evaluation
+    error.flatMap_seq_typecheck.jsonnet:1:12-52: function <builtin_flatmap> call
\ No newline at end of file
addedtests/cpp_test_suite_golden_override_ir_parser/error.flatMap_string_typecheck.jsonnet.goldendiffbeforeafterboth
--- /dev/null
+++ b/tests/cpp_test_suite_golden_override_ir_parser/error.flatMap_string_typecheck.jsonnet.golden
@@ -0,0 +1,2 @@
+runtime error: in std.join all items should be strings
+    error.flatMap_string_typecheck.jsonnet:1:12-50: function <builtin_flatmap> call
\ No newline at end of file
addedtests/cpp_test_suite_golden_override_ir_parser/error.manifest_toml_null_value.jsonnet.goldendiffbeforeafterboth
--- /dev/null
+++ b/tests/cpp_test_suite_golden_override_ir_parser/error.manifest_toml_null_value.jsonnet.golden
@@ -0,0 +1,5 @@
+runtime error: tried to manifest null
+    table <c> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    error.manifest_toml_null_value.jsonnet:17:19-55: function <builtin_manifest_toml_ex> call
\ No newline at end of file
addedtests/cpp_test_suite_golden_override_ir_parser/error.parse.text_block_indent_spaces.jsonnet.goldendiffbeforeafterboth
--- /dev/null
+++ b/tests/cpp_test_suite_golden_override_ir_parser/error.parse.text_block_indent_spaces.jsonnet.golden
@@ -0,0 +1,2 @@
+syntax error: unterminated text block
+    error.parse.text_block_indent_spaces.jsonnet:17:1
\ No newline at end of file
addedtests/cpp_test_suite_golden_override_ir_parser/error.static_error_var_not_exist.jsonnet.goldendiffbeforeafterboth
--- /dev/null
+++ b/tests/cpp_test_suite_golden_override_ir_parser/error.static_error_var_not_exist.jsonnet.golden
@@ -0,0 +1,2 @@
+local is not defined: tmp2
+    error.static_error_var_not_exist.jsonnet:17:16-21: local <tmp2> access
\ No newline at end of file
addedtests/cpp_test_suite_golden_override_ir_parser/error.std_parseYaml1.jsonnet.goldendiffbeforeafterboth
--- /dev/null
+++ b/tests/cpp_test_suite_golden_override_ir_parser/error.std_parseYaml1.jsonnet.golden
@@ -0,0 +1,6 @@
+runtime error: failed to parse yaml: error: line 1 column 5: mapping values are not allowed in this context at line 1, column 5
+ --> <input>:1:5
+  |
+1 | a: b:
+  |     ^ mapping values are not allowed in this context at line 1, column 5
+    error.std_parseYaml1.jsonnet:1:14-24: function <builtin_parse_yaml> call
\ No newline at end of file
addedtests/go_testdata_golden_override_ir_parser/builtinManifestJsonEx_cyclic.jsonnet.goldendiffbeforeafterboth
--- /dev/null
+++ b/tests/go_testdata_golden_override_ir_parser/builtinManifestJsonEx_cyclic.jsonnet.golden
@@ -0,0 +1,201 @@
+stack overflow, try to reduce recursion, or set --max-stack to bigger value
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    builtinManifestJsonEx_cyclic.jsonnet:1:19-33: function <builtin_manifest_json_ex> call
\ No newline at end of file
addedtests/go_testdata_golden_override_ir_parser/builtin_manifestTomlEx_cyclic.jsonnet.goldendiffbeforeafterboth
--- /dev/null
+++ b/tests/go_testdata_golden_override_ir_parser/builtin_manifestTomlEx_cyclic.jsonnet.golden
@@ -0,0 +1,201 @@
+stack overflow, try to reduce recursion, or set --max-stack to bigger value
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    section <b> manifestification
+    section <a> manifestification
+    builtin_manifestTomlEx_cyclic.jsonnet:1:19-38: function <builtin_manifest_toml_ex> call
\ No newline at end of file
addedtests/go_testdata_golden_override_ir_parser/builtin_manifestYamlDoc_cyclic.jsonnet.goldendiffbeforeafterboth
--- /dev/null
+++ b/tests/go_testdata_golden_override_ir_parser/builtin_manifestYamlDoc_cyclic.jsonnet.golden
@@ -0,0 +1,201 @@
+stack overflow, try to reduce recursion, or set --max-stack to bigger value
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    field <a> manifestification
+    builtin_manifestYamlDoc_cyclic.jsonnet:1:20-29: function <builtin_manifest_yaml_doc> call
\ No newline at end of file
addedtests/go_testdata_golden_override_ir_parser/parseYaml.jsonnet.goldendiffbeforeafterboth
--- /dev/null
+++ b/tests/go_testdata_golden_override_ir_parser/parseYaml.jsonnet.golden
@@ -0,0 +1,55 @@
+[
+    {
+        "aaa": { },
+        "foo": "bar",
+        "xxx": [
+            42,
+            "asdf",
+            { }
+        ],
+        "ąę": "ćż"
+    },
+    [
+        {
+            "a": 1
+        },
+        {
+            "a": 2
+        }
+    ],
+    [
+        {
+            "a": 1
+        },
+        {
+            "a": 2
+        }
+    ],
+    [
+        {
+            "a": 1
+        },
+        {
+            "a": 2
+        }
+    ],
+    {
+        "---a": 2,
+        "a": 1,
+        "a---": 3
+    },
+    [
+        {
+            "a": 1
+        },
+        "hello world\n",
+        3
+    ],
+    [
+        {
+            "a": 1
+        },
+        2
+    ],
+    null
+]
\ No newline at end of file
addedtests/go_testdata_golden_override_ir_parser/stdlib_smoke_test.jsonnet.goldendiffbeforeafterboth

no content