]> gitweb.factorcode.org Git - factor.git/commitdiff
xml.data: adding tests for tags assoc protocol.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 28 Feb 2015 23:37:06 +0000 (15:37 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 28 Feb 2015 23:37:06 +0000 (15:37 -0800)
basis/xml/data/data-tests.factor [new file with mode: 0644]

diff --git a/basis/xml/data/data-tests.factor b/basis/xml/data/data-tests.factor
new file mode 100644 (file)
index 0000000..fa147b0
--- /dev/null
@@ -0,0 +1,4 @@
+USING: assocs tools.test ;
+IN: xml.data
+
+{ "bob" } [ "test" { { "name" "bob" } } { } <tag> "name" of ] unit-test