Coding Standards: Fix WPCS issue in [45990].

git-svn-id: https://develop.svn.wordpress.org/trunk@46019 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-09-04 18:40:13 +00:00
parent cda102f72f
commit bd299597d5
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class Tests_Rel_No_Follow extends WP_UnitTestCase {
}
public function test_append_no_follow_with_valueless_attribute() {
$content = '<p>This is some cool <a href="demo.com" download rel="hola">Code</a></p>';
$content = '<p>This is some cool <a href="demo.com" download rel="hola">Code</a></p>';
$expected = '<p>This is some cool <a href=\"demo.com\" download rel=\"hola nofollow\">Code</a></p>';
$this->assertEquals( $expected, wp_rel_nofollow( $content ) );
}