Skip to content

Commit 3c4e068

Browse files
committed
Remove unused var
1 parent 686970b commit 3c4e068

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/phpunit/tests/dependencies/styles.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,9 @@ public function test_multiple_inline_styles() {
295295
*/
296296
public function test_plugin_doing_inline_styles_wrong() {
297297

298-
$style_tag_open = '';
299-
$style = ".thing {\n";
300-
$style .= "\tbackground: red;\n";
301-
$style .= '}';
298+
$style = ".thing {\n";
299+
$style .= "\tbackground: red;\n";
300+
$style .= '}';
302301

303302
$expected = "<link rel='stylesheet' id='handle-css' href='http://example.com?ver=1' type='text/css' media='all' />\n";
304303
$expected .= "<style id='handle-inline-css' type='text/css'>\n";

0 commit comments

Comments
 (0)