summary refs log tree commit diff
path: root/tests/lang/eval-okay-toxml.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/eval-okay-toxml.nix')
-rw-r--r--tests/lang/eval-okay-toxml.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-toxml.nix b/tests/lang/eval-okay-toxml.nix
new file mode 100644
index 0000000000..068c97a6c1
--- /dev/null
+++ b/tests/lang/eval-okay-toxml.nix
@@ -0,0 +1,3 @@
+# Make sure the expected XML output is produced; in particular, make sure it
+# doesn't contain source location information.
+builtins.toXML { a = "s"; }