From b8ac62d5fc269301fd601645065fe38e19fedbf5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 24 Aug 2022 16:06:54 +0300 Subject: test(tvix/eval): add a simple test for builtins resolution Change-Id: I91f54778b8a17f3448664c21308de656b4b04b3e Reviewed-on: https://cl.tvl.fyi/c/depot/+/6255 Tested-by: BuildkiteCI Reviewed-by: sterni --- tvix/eval/src/tests/tvix_tests/eval-okay-builtins-toString.nix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tvix/eval/src/tests/tvix_tests/eval-okay-builtins-toString.nix (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-builtins-toString.nix') diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-toString.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-toString.nix new file mode 100644 index 0000000000..05b2917a0f --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-toString.nix @@ -0,0 +1,6 @@ +# TODO: add some examples for the "weird" types +[ + (toString 1) + # TODO: floats must be padded to 6 digits + # (toString 4.2) +] -- cgit 1.4.1