diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-29T17·38+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-30T12·31+0000 |
commit | f0f5435e25541c6f1ae17e77d44c54df881320cc (patch) | |
tree | 439e4d060e028bb5de56183569d814c102f5f46a /tvix/eval/src/tests/tvix_tests/eval-okay-or-operator-non-set.nix | |
parent | da1e3e9ac586747cf8d65a257f330706b051d06e (diff) |
test(tvix/eval): reactivate nested key tests in plain attribute sets r/5003
Change-Id: Id25cde5a6562e1598dcbbf7945ecdfacac5faed7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6807 Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-or-operator-non-set.nix')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-or-operator-non-set.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-or-operator-non-set.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-or-operator-non-set.nix new file mode 100644 index 000000000000..fd09bfee64c2 --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-or-operator-non-set.nix @@ -0,0 +1,2 @@ +# `or` operator should keep working if it encounters a non-set type. +{ a.b = 42; }.a.b.c or "works fine" |