mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-31 08:30:03 +00:00
Coding Standards: Remove superfluous blank lines at the end of various functions.
Note: This is enforced by WPCS 3.0.0. Follow-up to [56536], [56547]. Props jrf. See #59161, #58831. git-svn-id: https://develop.svn.wordpress.org/trunk@56548 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -135,7 +135,6 @@ class Tests_Widgets extends WP_UnitTestCase {
|
||||
register_sidebars( 1, array( 'id' => 'wp-unit-test' ) );
|
||||
|
||||
$this->assertArrayHasKey( 'wp-unit-test', $wp_registered_sidebars );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -157,7 +156,6 @@ class Tests_Widgets extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
$this->assertCount( $num, $result );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -266,7 +264,6 @@ class Tests_Widgets extends WP_UnitTestCase {
|
||||
$this->assertArrayHasKey( $sidebar_id, $wp_registered_sidebars );
|
||||
$this->assertStringContainsString( '<div id="%1$s" class="before-sidebar %2$s">', $wp_registered_sidebars[ $sidebar_id ]['before_sidebar'] );
|
||||
$this->assertStringContainsString( '</div> <!-- .before-sidebar -->', $wp_registered_sidebars[ $sidebar_id ]['after_sidebar'] );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -286,7 +283,6 @@ class Tests_Widgets extends WP_UnitTestCase {
|
||||
$this->assertArrayHasKey( $sidebar_id, $wp_registered_sidebars );
|
||||
$this->assertEmpty( $wp_registered_sidebars[ $sidebar_id ]['before_sidebar'] );
|
||||
$this->assertEmpty( $wp_registered_sidebars[ $sidebar_id ]['after_sidebar'] );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -890,7 +886,6 @@ class Tests_Widgets extends WP_UnitTestCase {
|
||||
unregister_widget( 'WP_Widget_Text' );
|
||||
|
||||
$this->assertMatchesRegularExpression( '/<span class="special widget_text">/', $actual );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user