summary refs log tree commit diff stats
path: root/tests/stdlib/txmltree.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/txmltree.nim')
-rw-r--r--tests/stdlib/txmltree.nim13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/stdlib/txmltree.nim b/tests/stdlib/txmltree.nim
new file mode 100644
index 000000000..931871f15
--- /dev/null
+++ b/tests/stdlib/txmltree.nim
@@ -0,0 +1,13 @@
+discard """
+  file: "txmltree.nim"
+  output: "true"
+"""
+
+import xmltree, strtabs
+
+var x = <>a(href="nimrod.de", newText("www.nimrod-test.de"))
+
+echo($x == "<a href=\"nimrod.de\">www.nimrod-test.de</a>")
+
+
+