Tests: Indent test_wp_register_style()
with tabs.
git-svn-id: https://develop.svn.wordpress.org/trunk@36547 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1750b09775
commit
de9d091e76
@ -229,14 +229,14 @@ CSS;
|
|||||||
$this->assertEquals( $expected, get_echo( 'wp_print_styles' ) );
|
$this->assertEquals( $expected, get_echo( 'wp_print_styles' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Testing 'wp_register_style' return boolean success/failure value.
|
* Testing 'wp_register_style' return boolean success/failure value.
|
||||||
*
|
*
|
||||||
* @ticket 31126
|
* @ticket 31126
|
||||||
*/
|
*/
|
||||||
function test_wp_register_style(){
|
function test_wp_register_style(){
|
||||||
$this->assertTrue( wp_register_style( 'duplicate-handler', 'http://example.com' ) );
|
$this->assertTrue( wp_register_style( 'duplicate-handler', 'http://example.com' ) );
|
||||||
$this->assertFalse( wp_register_style( 'duplicate-handler', 'http://example.com' ) );
|
$this->assertFalse( wp_register_style( 'duplicate-handler', 'http://example.com' ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user