Update expected results in wp_link_pages() unit tests after [30030].

see #24940.

git-svn-id: https://develop.svn.wordpress.org/trunk@30035 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-10-27 01:58:17 +00:00
parent aae8ddf48f
commit cd89f18427

View File

@ -60,12 +60,12 @@ class Tests_Post_Template extends WP_UnitTestCase {
$this->assertEquals( $next_prev_link, $output );
$GLOBALS['page'] = 1;
$separator = "<p>Pages: | 1 | {$page2}2</a> | {$page3}3</a></p>";
$separator = "<p>Pages: 1 | {$page2}2</a> | {$page3}3</a></p>";
$output = wp_link_pages( array( 'echo' => 0, 'separator' => ' | ' ) );
$this->assertEquals( $separator, $output );
$pagelink = " | Page 1 | {$page2}Page 2</a> | {$page3}Page 3</a>";
$pagelink = " Page 1 | {$page2}Page 2</a> | {$page3}Page 3</a>";
$output = wp_link_pages( array( 'echo' => 0, 'separator' => ' | ', 'before' => '', 'after' => '',
'pagelink' => 'Page %'
) );