Skip to content

Commit

Permalink
Update syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHerman committed Jun 24, 2024
1 parent 8d933f3 commit a7c57df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .dev/tests/phpunit/src/blocks/gist/test-index.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function test_coblocks_block_gist_handler_returns_valid_embed() {
$gist_path = 'EvanHerman/3e8058a093800e1b7c8b605a64525514';

$this->assertMatchesRegularExpression(
"/<span class='coblocks-gist__container' style='pointer-events: all'><script src=\"https://gist.github.com/{$gist_path}.js\">/",
"/<span class='coblocks-gist__container' style='pointer-events: all'><script src=\"https:\/\/gist.github.com\/{$gist_path}.js\">/",
coblocks_block_gist_handler( array( $gist_url, $gist_path ) )
);
}
Expand Down

0 comments on commit a7c57df

Please sign in to comment.