From ddba4d4e173e13d69274b39dd6add1a3efe2343f Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sat, 9 Dec 2023 02:07:12 -0800 Subject: [PATCH] test(tvix/eval): nested assertions (b/340) Change-Id: I898d7056877a6370d5720b633df416f54e7cf65f Reviewed-on: https://cl.tvl.fyi/c/depot/+/10222 Tested-by: BuildkiteCI Autosubmit: Adam Joseph Reviewed-by: tazjin --- .../tvix_tests/notyetpassing/eval-okay-nested-assertions.exp | 1 + .../tvix_tests/notyetpassing/eval-okay-nested-assertions.nix | 1 + 2 files changed, 2 insertions(+) create mode 100644 tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-nested-assertions.exp create mode 100644 tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-nested-assertions.nix diff --git a/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-nested-assertions.exp b/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-nested-assertions.exp new file mode 100644 index 000000000..c508d5366 --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-nested-assertions.exp @@ -0,0 +1 @@ +false diff --git a/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-nested-assertions.nix b/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-nested-assertions.nix new file mode 100644 index 000000000..b0397e268 --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-okay-nested-assertions.nix @@ -0,0 +1 @@ +(builtins.tryEval (assert (assert false; true); true)).success