From f0f5435e25541c6f1ae17e77d44c54df881320cc Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 29 Sep 2022 20:38:07 +0300 Subject: test(tvix/eval): reactivate nested key tests in plain attribute sets Change-Id: Id25cde5a6562e1598dcbbf7945ecdfacac5faed7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6807 Reviewed-by: grfn Reviewed-by: sterni Tested-by: BuildkiteCI --- tvix/eval/src/tests/tvix_tests/eval-okay-or-operator-non-set.nix | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tvix/eval/src/tests/tvix_tests/eval-okay-or-operator-non-set.nix (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-or-operator-non-set.nix') 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" -- cgit 1.4.1