about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-attrnames.nix
blob: 67f7dcee567272fd765cd226384827b021886711 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
[
  (builtins.attrNames {})
  (builtins.attrNames { foo = 1; bar = 2; baz = 3; })
  (builtins.attrNames { Foo = 1; bar = 2; Baz = 3; })
  (builtins.attrNames {
    "Graham Chapman" = true;
    "John Cleese" = true;
    "Terry Gilliam" = true;
    "Eric Idle" = true;
    "Terry Jones" = true;
    "Michael Palin" = true;
  })
]