From c5406d57035d59681260fd61ec044fac8208394a Mon Sep 17 00:00:00 2001 From: Hassan Khan Date: Sun, 26 Jan 2014 22:11:20 +0000 Subject: [PATCH] Not sure if code is shit, or found bug in Travis-CI --- tests/Zepto/FileLoader/MarkdownLoaderTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Zepto/FileLoader/MarkdownLoaderTest.php b/tests/Zepto/FileLoader/MarkdownLoaderTest.php index fe1c916..1f857c5 100644 --- a/tests/Zepto/FileLoader/MarkdownLoaderTest.php +++ b/tests/Zepto/FileLoader/MarkdownLoaderTest.php @@ -64,13 +64,13 @@ public function testLoad() */ public function testLoadMultipleFiles() { - $done_text_1 = "

This is a Sub Page Index

" . PHP_EOL . PHP_EOL + $sub_page_index_content = "

This is a Sub Page Index

" . PHP_EOL . PHP_EOL . "

This is index.md in the 'sub' folder.

" . PHP_EOL . PHP_EOL . "

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

" . PHP_EOL . PHP_EOL . "

Donec ultricies tristique nulla et mattis.

" . PHP_EOL. PHP_EOL . "

Phasellus id massa eget nisl congue blandit sit amet id ligula.

" . PHP_EOL; - $done_text_2 = "

This is a Sub Page

" . PHP_EOL . PHP_EOL + $sub_page_content = "

This is a Sub Page

" . PHP_EOL . PHP_EOL . "

This is page.md in the 'sub' folder.

" . PHP_EOL . PHP_EOL . "

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

" . PHP_EOL . PHP_EOL . "

Donec ultricies tristique nulla et mattis.

" . PHP_EOL . PHP_EOL @@ -81,7 +81,7 @@ public function testLoadMultipleFiles() $parser::staticExpects($this->any()) ->method('defaultTransform') - ->will($this->onConsecutiveCalls($done_text_1, $done_text_2)); + ->will($this->onConsecutiveCalls($sub_page_index_content, $sub_page_content)); $loader = new MarkdownLoader($parser); @@ -89,14 +89,14 @@ public function testLoadMultipleFiles() 'meta' => array( 'title' => 'Sub Page Index' ), - 'content' => $done_text_1 + 'content' => $sub_page_index_content ); $files['sub/page.md'] = array( 'meta' => array( 'title' => 'Sub Page' ), - 'content' => $done_text_2 + 'content' => $sub_page_content ); $result = $loader->load(ROOT_DIR . 'content/sub', array('md'));