Tests: Indent test_wp_register_script()
with tabs.
git-svn-id: https://develop.svn.wordpress.org/trunk@36549 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3921eb53ea
commit
149686b424
@ -156,14 +156,14 @@ class Tests_Dependencies_Scripts extends WP_UnitTestCase {
|
||||
$this->assertEquals( '', get_echo( 'wp_print_scripts' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Testing 'wp_register_script' return boolean success/failure value.
|
||||
*
|
||||
* @ticket 31126
|
||||
*/
|
||||
function test_wp_register_script() {
|
||||
$this->assertTrue( wp_register_script( 'duplicate-handler', 'http://example.com' ) );
|
||||
$this->assertFalse( wp_register_script( 'duplicate-handler', 'http://example.com' ) );
|
||||
}
|
||||
/**
|
||||
* Testing 'wp_register_script' return boolean success/failure value.
|
||||
*
|
||||
* @ticket 31126
|
||||
*/
|
||||
function test_wp_register_script() {
|
||||
$this->assertTrue( wp_register_script( 'duplicate-handler', 'http://example.com' ) );
|
||||
$this->assertFalse( wp_register_script( 'duplicate-handler', 'http://example.com' ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user