]> gitweb.factorcode.org Git - factor.git/commitdiff
basis.xml: Add test to check that pull-event doesn't raise an exception when called...
authorBruno Deferrari <utizoc@gmail.com>
Wed, 22 Jul 2009 23:48:38 +0000 (20:48 -0300)
committerBruno Deferrari <utizoc@gmail.com>
Wed, 22 Jul 2009 23:48:38 +0000 (20:48 -0300)
basis/xml/tests/test.factor

index 74ba931c7998aa871d13d9e151b847e1d397e5d9..e371c3aab5c6b0acdc62f250b657d3275cf60ee7 100644 (file)
@@ -73,3 +73,7 @@ SYMBOL: xml-file
 [ T{ xml-chunk f V{ "hello" } } ] [ "hello" string>xml-chunk ] unit-test
 [ "1.1" ] [ "<?xml version='1.1'?><x/>" string>xml prolog>> version>> ] unit-test
 [ "ß" ] [ "<x>ß</x>" <string-reader> read-xml children>string ] unit-test
+
+! <pull-xml> tests
+! this tests just checks that pull-event doesn't raise an exception
+[ ] [ "vocab:xml/tests/test.xml" binary [ <pull-xml> pull-event drop ] with-file-reader ] unit-test
\ No newline at end of file