]> gitweb.factorcode.org Git - factor.git/commitdiff
Add unit test for xmode bug discovered by anonymous pastebin user
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 29 Jan 2009 07:44:09 +0000 (01:44 -0600)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Thu, 29 Jan 2009 07:44:09 +0000 (01:44 -0600)
basis/xmode/code2html/code2html-tests.factor [new file with mode: 0644]

diff --git a/basis/xmode/code2html/code2html-tests.factor b/basis/xmode/code2html/code2html-tests.factor
new file mode 100644 (file)
index 0000000..cd11ba5
--- /dev/null
@@ -0,0 +1,12 @@
+IN: xmode.code2html.tests
+USING: xmode.code2html xmode.catalog
+tools.test multiline splitting memoize
+kernel ;
+
+[ ] [ \ (load-mode) reset-memoized ] unit-test
+
+[ ] [
+    <" <style type="text/css" media="screen" >
+    *        {margin:0; padding:0; border:0;} ">
+    string-lines "html" htmlize-lines drop
+] unit-test
\ No newline at end of file