about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-16T16·56+0300
committertazjin <tazjin@tvl.su>2022-09-16T18·13+0000
commit0532cb61720355f5917c467440eb2b3cb297f2ba (patch)
tree3a713f050fd83859c7085a7f13d590826156ad66 /tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let.nix
parent15c8e8c459c723c3e3c0c5fbfb0ed581b6521340 (diff)
test(tvix/eval): add tests for legacy let syntax r/4879
Change-Id: I42d6240056c93cf90986ef3fec88b42f804b06ef
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6613
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let.nix')
-rw-r--r--tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let.nix
new file mode 100644
index 000000000000..850e0252c2b6
--- /dev/null
+++ b/tvix/eval/src/tests/tvix_tests/eval-okay-legacy-let.nix
@@ -0,0 +1,4 @@
+let {
+  a = 21;
+  body = a * 2;
+}