diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-05-01 22:58:57 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-05-01 22:58:57 +0200 |
commit | 050f8f4ddc32167e205a190eec9a60ad8f3caed5 (patch) | |
tree | d33554bde021d49cc7d802b4e053357e5e3b6b8f /_test/tests/inc/parser/parser_eol.test.php | |
parent | 3c0d44f1aa44d3ac3d8b9e652d172b1eda680bbf (diff) | |
download | rpg-050f8f4ddc32167e205a190eec9a60ad8f3caed5.tar.gz rpg-050f8f4ddc32167e205a190eec9a60ad8f3caed5.tar.bz2 |
removed unecessary requiresin unit tests
Diffstat (limited to '_test/tests/inc/parser/parser_eol.test.php')
-rw-r--r-- | _test/tests/inc/parser/parser_eol.test.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/_test/tests/inc/parser/parser_eol.test.php b/_test/tests/inc/parser/parser_eol.test.php index 03569bb62..6264f8b55 100644 --- a/_test/tests/inc/parser/parser_eol.test.php +++ b/_test/tests/inc/parser/parser_eol.test.php @@ -31,7 +31,7 @@ class TestOfDoku_Parser_Eol extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testWinEol() { $this->P->addMode('eol',new Doku_Parser_Mode_Eol()); $this->P->parse("Foo\r\nBar"); @@ -44,7 +44,7 @@ class TestOfDoku_Parser_Eol extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testLinebreak() { $this->P->addMode('linebreak',new Doku_Parser_Mode_Linebreak()); $this->P->parse('Foo\\\\ Bar'); @@ -59,12 +59,12 @@ class TestOfDoku_Parser_Eol extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testLinebreakPlusEol() { $this->P->addMode('linebreak',new Doku_Parser_Mode_Linebreak()); $this->P->addMode('eol',new Doku_Parser_Mode_Eol()); $this->P->parse('Foo\\\\'."\n\n".'Bar'); - + $calls = array ( array('document_start',array()), array('p_open',array()), @@ -78,7 +78,7 @@ class TestOfDoku_Parser_Eol extends TestOfDoku_Parser { ); $this->assertEquals(array_map('stripByteIndex',$this->H->calls),$calls); } - + function testLinebreakInvalid() { $this->P->addMode('linebreak',new Doku_Parser_Mode_Linebreak()); $this->P->parse('Foo\\\\Bar'); |