Add unit test for xmode bug discovered by anonymous pastebin user

db4
Slava Pestov 2009-01-29 01:44:09 -06:00
parent 3e685b2eb4
commit 31e662043b
1 changed files with 12 additions and 0 deletions
basis/xmode/code2html

View File

@ -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