about summary refs log tree commit diff
path: root/tests/lang/eval-okay-xml.exp.xml
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.xml
parent24e234a2fabd8930f1ef71a5bb03010725d0773a (diff)
* Test for `nix-instantiate --eval-only --xml'.
Diffstat (limited to 'tests/lang/eval-okay-xml.exp.xml')
-rw-r--r--tests/lang/eval-okay-xml.exp.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-xml.exp.xml b/tests/lang/eval-okay-xml.exp.xml
new file mode 100644
index 000000000000..bfb34f81d0ad
--- /dev/null
+++ b/tests/lang/eval-okay-xml.exp.xml
@@ -0,0 +1,42 @@
+<?xml version='1.0' encoding='utf-8'?>
+<expr>
+  <attrs>
+    <attr name="a">
+      <string value="foo" />
+    </attr>
+    <attr name="b">
+      <string value="bar" />
+    </attr>
+    <attr name="c">
+      <string value="foobar" />
+    </attr>
+    <attr name="f">
+      <function>
+        <arg name="z">
+        </arg>
+        <arg name="x">
+          <value>
+            <string value="a" />
+          </value>
+          <value>
+            <string value="b" />
+          </value>
+          <value>
+            <string value="cd" />
+          </value>
+        </arg>
+        <arg name="y">
+          <value>
+            <bool value="true" />
+          </value>
+          <value>
+            <bool value="false" />
+          </value>
+        </arg>
+      </function>
+    </attr>
+    <attr name="x">
+      <int value="123" />
+    </attr>
+  </attrs>
+</expr>