about summary refs log tree commit diff
path: root/tests/lang/eval-okay-xml.exp
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-08-17T11·28+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-08-17T11·28+0000
commit4874fd2d9a698170adfd22c69e8e38b5afb7d03c (patch)
tree1b61e744513a6b865f4428163bd14f8a0b03fb39 /tests/lang/eval-okay-xml.exp
parent24e234a2fabd8930f1ef71a5bb03010725d0773a (diff)
* Test for `nix-instantiate --eval-only --xml'.
Diffstat (limited to 'tests/lang/eval-okay-xml.exp')
-rw-r--r--tests/lang/eval-okay-xml.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-xml.exp b/tests/lang/eval-okay-xml.exp
new file mode 100644
index 000000000000..690599e6eeb1
--- /dev/null
+++ b/tests/lang/eval-okay-xml.exp
@@ -0,0 +1 @@
+Attrs([Bind("c",OpPlus(Str("foo"),Str("bar")),Pos("(string)",9,4)),Bind("b",Str("bar"),Pos("(string)",7,4)),Bind("x",Int(123),Pos("(string)",3,4)),Bind("f",Function([Formal("z",UnrestrictedValues,NoDefaultValue),Formal("x",ValidValues([Str("a"),Str("b"),OpPlus(Str("c"),Str("d"))]),NoDefaultValue),Formal("y",ValidValues([Var("true"),Var("false")]),NoDefaultValue)],If(Var("y"),Var("x"),Var("z")),Pos("(string)",11,8)),Pos("(string)",11,4)),Bind("a",Str("foo"),Pos("(string)",5,4))])