about summary refs log tree commit diff
path: root/tvix/eval/src/tests
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-30T16·55+0300
committertazjin <tazjin@tvl.su>2022-09-07T15·25+0000
commit23a5caabec5617c01d5629bd50dd7e7649cbe5a6 (patch)
tree996c1740febd8297a39bcf287a2c2e3c96663928 /tvix/eval/src/tests
parent727845645d4b6032e6b16dcfa997e14da9806084 (diff)
feat(tvix/eval): construct attribute sets lazily r/4699
This thunks the construction of attribute sets. Because Tvix does not
currently have a "strict output" mode, a test had to be disabled that
now displays a thunk representation.

The test will be re-enabled once that is available.

Change-Id: I360332be64cd5c154f9caea21828f6f1b37a265c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6363
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/tests')
-rw-r--r--tvix/eval/src/tests/tvix_tests/disabled-identity-nested-attrs.nix3
-rw-r--r--tvix/eval/src/tests/tvix_tests/identity-nested-attrs.nix1
2 files changed, 3 insertions, 1 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/disabled-identity-nested-attrs.nix b/tvix/eval/src/tests/tvix_tests/disabled-identity-nested-attrs.nix
new file mode 100644
index 000000000000..f8dacf3e084a
--- /dev/null
+++ b/tvix/eval/src/tests/tvix_tests/disabled-identity-nested-attrs.nix
@@ -0,0 +1,3 @@
+# TODO: temporarily disabled because need "strict output" (b is
+# thunked)
+{ a = { b = null; }; }
diff --git a/tvix/eval/src/tests/tvix_tests/identity-nested-attrs.nix b/tvix/eval/src/tests/tvix_tests/identity-nested-attrs.nix
deleted file mode 100644
index 6a139452ef28..000000000000
--- a/tvix/eval/src/tests/tvix_tests/identity-nested-attrs.nix
+++ /dev/null
@@ -1 +0,0 @@
-{ a = { b = null; }; }