From 8bf389e9b55cf13d25b7aeff87fbd8c7edb1f513 Mon Sep 17 00:00:00 2001 From: Bruno Deferrari Date: Wed, 22 Jul 2009 20:48:38 -0300 Subject: [PATCH] basis.xml: Add test to check that pull-event doesn't raise an exception when called on a pull-xml object --- basis/xml/tests/test.factor | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/basis/xml/tests/test.factor b/basis/xml/tests/test.factor index 74ba931c79..e371c3aab5 100644 --- a/basis/xml/tests/test.factor +++ b/basis/xml/tests/test.factor @@ -73,3 +73,7 @@ SYMBOL: xml-file [ T{ xml-chunk f V{ "hello" } } ] [ "hello" string>xml-chunk ] unit-test [ "1.1" ] [ "" string>xml prolog>> version>> ] unit-test [ "ß" ] [ "ß" read-xml children>string ] unit-test + +! tests +! this tests just checks that pull-event doesn't raise an exception +[ ] [ "vocab:xml/tests/test.xml" binary [ pull-event drop ] with-file-reader ] unit-test \ No newline at end of file -- 2.34.1