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.nim27
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/stdlib/txmltree.nim b/tests/stdlib/txmltree.nim
deleted file mode 100644
index a849859e3..000000000
--- a/tests/stdlib/txmltree.nim
+++ /dev/null
@@ -1,27 +0,0 @@
-discard """
-  file: "txmltree.nim"
-  output: '''true
-true
-true
-true
-true
-'''
-"""
-
-import xmltree, strtabs
-
-var x = <>a(href="nim.de", newText("www.nim-test.de"))
-
-echo($x == "<a href=\"nim.de\">www.nim-test.de</a>")
-
-echo(newText("foo").innerText == "foo")
-echo(newEntity("bar").innerText == "bar")
-echo(newComment("baz").innerText == "")
-
-let y = newXmlTree("x", [
-  newText("foo"),
-  newXmlTree("y", [
-    newText("bar")
-  ])
-])
-echo(y.innerText == "foobar")