diff options
Diffstat (limited to 'test/testdata/eval-okay-xml.nix')
-rw-r--r-- | test/testdata/eval-okay-xml.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/testdata/eval-okay-xml.nix b/test/testdata/eval-okay-xml.nix new file mode 100644 index 0000000..9ee9f8a --- /dev/null +++ b/test/testdata/eval-okay-xml.nix | |||
@@ -0,0 +1,21 @@ | |||
1 | rec { | ||
2 | |||
3 | x = 123; | ||
4 | |||
5 | y = 567.890; | ||
6 | |||
7 | a = "foo"; | ||
8 | |||
9 | b = "bar"; | ||
10 | |||
11 | c = "foo" + "bar"; | ||
12 | |||
13 | f = {z, x, y}: if y then x else z; | ||
14 | |||
15 | id = x: x; | ||
16 | |||
17 | at = args@{x, y, z}: x; | ||
18 | |||
19 | ellipsis = {x, y, z, ...}: x; | ||
20 | |||
21 | } | ||