summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Smith <chris.eureka@jalakai.co.uk>2009-03-08 17:38:55 +0100
committerChris Smith <chris.eureka@jalakai.co.uk>2009-03-08 17:38:55 +0100
commit268dc1b516448766ee632bb4546d0832bda3e785 (patch)
tree71c822ab6bc9973ae0227b41d5befce4c61b1319
parent061df79cb7afcffb967ea141fb14e9b0d7fe1d13 (diff)
downloadrpg-268dc1b516448766ee632bb4546d0832bda3e785.tar.gz
rpg-268dc1b516448766ee632bb4546d0832bda3e785.tar.bz2
provide emphasis-with-external-url test case with correct result data
darcs-hash:20090308163855-f07c6-8d8253e36fe2dff481043bd087355793eaf7bc2d.gz
-rw-r--r--_test/cases/inc/parser/parser_formatting.test.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/_test/cases/inc/parser/parser_formatting.test.php b/_test/cases/inc/parser/parser_formatting.test.php
index b85a2d394..35bb41a6a 100644
--- a/_test/cases/inc/parser/parser_formatting.test.php
+++ b/_test/cases/inc/parser/parser_formatting.test.php
@@ -108,13 +108,15 @@ class TestOfDoku_Parser_Formatting extends TestOfDoku_Parser {
function testEmWithKnownSchema() {
$this->P->addMode('emphasis',new Doku_Parser_Mode_Formatting('emphasis'));
$this->P->addMode('externallink',new Doku_Parser_Mode_ExternalLink());
- $this->P->parse('abc //http://www.domain.com bar// def');
+ $this->P->parse('abc //foo http://www.google.com bar// def');
$calls = array (
array('document_start',array()),
array('p_open',array()),
array('cdata',array("\n".'abc ')),
array('emphasis_open',array()),
- array('cdata',array('http:// bar')),
+ array('cdata',array('foo ')),
+ array('externallink',array('http://www.google.com', NULL)),
+ array('cdata',array(' bar')),
array('emphasis_close',array()),
array('cdata',array(' def'."\n")),
array('p_close',array()),