about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-value-display.nix
blob: d34ed1697e77478c36afb8e32f536cd9aa1e62cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Sanity check of how values are rendered by tvix vs. nix-instantiate(1).
# Ensures that we can use this test suite to compare against C++ Nix.
[
  null
  true
  false
  42
  42.0
  "foo\t\nbar"
  /home/arthur
  [ 1 2 3 ]
  (x: x)
  builtins.add
  (builtins.substring 0 1)
  { hello = "world"; }
]