test(tvix/eval): add a test for float representation
Change-Id: I4893a37719b9bf08b35963d48e6851a194a08aa7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6274 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
8d7ccc78d0
commit
d761d934ed
2 changed files with 3 additions and 0 deletions
1
tvix/eval/src/tests/tvix_tests/eval-okay-float-repr.exp
Normal file
1
tvix/eval/src/tests/tvix_tests/eval-okay-float-repr.exp
Normal file
|
@ -0,0 +1 @@
|
|||
1.23457
|
2
tvix/eval/src/tests/tvix_tests/eval-okay-float-repr.nix
Normal file
2
tvix/eval/src/tests/tvix_tests/eval-okay-float-repr.nix
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Floats are displayed with a maximum of 5 digits
|
||||
1.23456789
|
Loading…
Reference in a new issue