about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-or-operator.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-11T19·14+0300
committertazjin <tazjin@tvl.su>2022-08-26T16·05+0000
commit15c2986597771d2c355e7893fed8932072959f71 (patch)
tree8392bac90f10564724024563cb600b9caa953d8d /tvix/eval/src/tests/tvix_tests/eval-okay-or-operator.nix
parent941d718a8a60ffb877f778e2feecf8c29ad79232 (diff)
test(tvix/eval): add tests for the attrset `or` operator r/4501
Change-Id: I81f3ab94d8b987f5a4c87a27b2bcbb49cccee1ce
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6168
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-or-operator.nix')
-rw-r--r--tvix/eval/src/tests/tvix_tests/eval-okay-or-operator.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-or-operator.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-or-operator.nix
new file mode 100644
index 000000000000..ce1e6e67c289
--- /dev/null
+++ b/tvix/eval/src/tests/tvix_tests/eval-okay-or-operator.nix
@@ -0,0 +1 @@
+{ a = 1; }.a or 2