Skip to content
Permalink
Browse files

Coding Standards: Fix WPCS issue in [45990].

git-svn-id: https://develop.svn.wordpress.org/trunk@46019 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Sep 4, 2019
1 parent cda102f commit bd299597d5938bd445fa45da3a58183a0f6e172a
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/phpunit/tests/formatting/WPRelNoFollow.php
@@ -76,7 +76,7 @@ public function data_wp_rel_nofollow() {
}
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 ) );
}

0 comments on commit bd29959

Please sign in to comment.
You can’t perform that action at this time.