From 80a71abb4809bea6078302f3ee3315e59b726745 Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 14 Jun 2023 16:48:02 +0200 Subject: test(tvix/eval): move division by zero tests into tvix_tests These were added by us in r/5276, so they should go into our test suite. Change-Id: I6dc74fc242f33c22a17e0b4aee546ccae886ac85 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8774 Reviewed-by: tazjin Tested-by: BuildkiteCI Autosubmit: sterni --- tvix/eval/src/tests/nix_tests/eval-fail-division-by-zero-float.nix | 1 - tvix/eval/src/tests/nix_tests/eval-fail-division-by-zero-int.nix | 1 - tvix/eval/src/tests/tvix_tests/eval-fail-division-by-zero-float.nix | 1 + tvix/eval/src/tests/tvix_tests/eval-fail-division-by-zero-int.nix | 1 + 4 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 tvix/eval/src/tests/nix_tests/eval-fail-division-by-zero-float.nix delete mode 100644 tvix/eval/src/tests/nix_tests/eval-fail-division-by-zero-int.nix create mode 100644 tvix/eval/src/tests/tvix_tests/eval-fail-division-by-zero-float.nix create mode 100644 tvix/eval/src/tests/tvix_tests/eval-fail-division-by-zero-int.nix (limited to 'tvix/eval/src/tests') diff --git a/tvix/eval/src/tests/nix_tests/eval-fail-division-by-zero-float.nix b/tvix/eval/src/tests/nix_tests/eval-fail-division-by-zero-float.nix deleted file mode 100644 index 82dd6873218e..000000000000 --- a/tvix/eval/src/tests/nix_tests/eval-fail-division-by-zero-float.nix +++ /dev/null @@ -1 +0,0 @@ -1.0 / 0.0 diff --git a/tvix/eval/src/tests/nix_tests/eval-fail-division-by-zero-int.nix b/tvix/eval/src/tests/nix_tests/eval-fail-division-by-zero-int.nix deleted file mode 100644 index 72dca4d5e478..000000000000 --- a/tvix/eval/src/tests/nix_tests/eval-fail-division-by-zero-int.nix +++ /dev/null @@ -1 +0,0 @@ -1 / 0 diff --git a/tvix/eval/src/tests/tvix_tests/eval-fail-division-by-zero-float.nix b/tvix/eval/src/tests/tvix_tests/eval-fail-division-by-zero-float.nix new file mode 100644 index 000000000000..82dd6873218e --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-fail-division-by-zero-float.nix @@ -0,0 +1 @@ +1.0 / 0.0 diff --git a/tvix/eval/src/tests/tvix_tests/eval-fail-division-by-zero-int.nix b/tvix/eval/src/tests/tvix_tests/eval-fail-division-by-zero-int.nix new file mode 100644 index 000000000000..72dca4d5e478 --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-fail-division-by-zero-int.nix @@ -0,0 +1 @@ +1 / 0 -- cgit 1.4.1