summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-06-26 20:17:35 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-06-26 20:17:35 +0200
commit5fc8a92587e0735b0e14cf636361b9e66a74709d (patch)
tree477059614714ad9fd192113aa30c925ccb85f044 /_test
parent6e52162e9002646db30fd1efee3ee8025729b878 (diff)
downloadrpg-5fc8a92587e0735b0e14cf636361b9e66a74709d.tar.gz
rpg-5fc8a92587e0735b0e14cf636361b9e66a74709d.tar.bz2
some more tweaks to the smart quote parser
Now all test cases succeed, but there is probably still trouble with certain conditions. darcs-hash:20070626181735-7ad00-dd6e51e37cda7ca63077a2779afe1753ad975f84.gz
Diffstat (limited to '_test')
-rw-r--r--_test/cases/inc/parser/parser_quotes.test.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/_test/cases/inc/parser/parser_quotes.test.php b/_test/cases/inc/parser/parser_quotes.test.php
index 90616424f..9f191d6b0 100644
--- a/_test/cases/inc/parser/parser_quotes.test.php
+++ b/_test/cases/inc/parser/parser_quotes.test.php
@@ -3,6 +3,12 @@ require_once 'parser.inc.php';
class TestOfDoku_Parser_Quotes extends TestOfDoku_Parser {
+ function setup() {
+ parent::setup();
+ global $conf;
+ $conf['typography'] = 2;
+ }
+
function TestOfDoku_Parser_Quotes() {
$this->UnitTestCase('TestOfDoku_Parser_Quotes');
}
@@ -255,7 +261,7 @@ class TestOfDoku_Parser_Quotes extends TestOfDoku_Parser {
array('cdata',array('s world')),
array('singlequoteclosing',array()),
array('doublequoteclosing',array()),
- array('cdata',array('.'."\n")),
+ array('cdata',array(".\n")),
array('p_close',array()),
array('document_end',array()),
);