Skip to content

Commit

Permalink
Spacing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobschweitzer committed Mar 20, 2024
1 parent 15027dc commit 9fddddb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test-scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,9 @@ function test_add_to_async() {

/**
* Test defer attribute handling.
* @group assets
*/
public function test_defer_attribute() {
public function test_defer_attribute() {

// Enqueue the script with the defer attribute.
am_enqueue_script( $this->test_script['handle'], $this->test_script['src'], [], 'global', 'defer' );
Expand All @@ -176,5 +177,5 @@ public function test_defer_attribute() {

// Check if the script tag has the defer attribute.
$this->assertStringContainsString( 'defer"', $script_output );
}
}
}

0 comments on commit 9fddddb

Please sign in to comment.