Use correct data providers.
props miqrogroove. see #28564. git-svn-id: https://develop.svn.wordpress.org/trunk@28860 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f09a6ee73c
commit
bc83ca24d4
@ -1328,7 +1328,7 @@ class Tests_Formatting_WPTexturize extends WP_UnitTestCase {
|
||||
* Year abbreviations consist of exactly two digits.
|
||||
*
|
||||
* @ticket 26850
|
||||
* @dataProvider data_quotes_and_dashes
|
||||
* @dataProvider data_year_abbr
|
||||
*/
|
||||
function test_year_abbr( $input, $output ) {
|
||||
return $this->assertEquals( $output, wptexturize( $input ) );
|
||||
@ -1634,7 +1634,7 @@ class Tests_Formatting_WPTexturize extends WP_UnitTestCase {
|
||||
* Extra sanity checks for _wptexturize_pushpop_element()
|
||||
*
|
||||
* @ticket 28483
|
||||
* @dataProvider data_quotes_and_dashes
|
||||
* @dataProvider data_element_stack
|
||||
*/
|
||||
function test_element_stack( $input, $output ) {
|
||||
return $this->assertEquals( $output, wptexturize( $input ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user