mirror of
https://github.com/NixOS/nix
synced 2025-07-18 02:58:27 +02:00
* Test for `nix-instantiate --eval-only --xml'.
This commit is contained in:
parent
24e234a2fa
commit
4874fd2d9a
4 changed files with 68 additions and 1 deletions
42
tests/lang/eval-okay-xml.exp.xml
Normal file
42
tests/lang/eval-okay-xml.exp.xml
Normal file
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue