mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-25 21:54:28 +00:00
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:
@@ -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' ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user