Coding Standards: Fix WPCS issue in [45990].

Merges [46019] to the 5.1 branch.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@46024 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-09-04 18:43:07 +00:00
parent 9c76dcbbe1
commit 6605763c34

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 ) );
}