diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-17T11·28+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-17T11·28+0000 |
commit | 4874fd2d9a698170adfd22c69e8e38b5afb7d03c (patch) | |
tree | 1b61e744513a6b865f4428163bd14f8a0b03fb39 /tests/lang/eval-okay-xml.nix | |
parent | 24e234a2fabd8930f1ef71a5bb03010725d0773a (diff) |
* Test for `nix-instantiate --eval-only --xml'.
Diffstat (limited to 'tests/lang/eval-okay-xml.nix')
-rw-r--r-- | tests/lang/eval-okay-xml.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-xml.nix b/tests/lang/eval-okay-xml.nix new file mode 100644 index 000000000000..244b2c0fb401 --- /dev/null +++ b/tests/lang/eval-okay-xml.nix @@ -0,0 +1,13 @@ +rec { + + x = 123; + + a = "foo"; + + b = "bar"; + + c = "foo" + "bar"; + + f = {z, x : ["a" "b" ("c" + "d")], y : [true false]}: if y then x else z; + +} \ No newline at end of file |