Make WordPress Core

Changeset 43881


Ignore:
Timestamp:
11/09/2018 08:55:50 AM (6 years ago)
Author:
pento
Message:

Tests: Fix a failing test after [43879].

See #45290.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/tests/phpunit/tests/blocks/render.php

    r43879 r43881  
    7676        $block_filtered_content = preg_replace( "/\n{2,}/", "\n", $block_filtered_content );
    7777
    78         $this->assertEquals( $classic_filtered_content, $block_filtered_content );
     78        $this->assertEquals( trim( $classic_filtered_content ), trim( $block_filtered_content ) );
    7979    }
    8080
Note: See TracChangeset for help on using the changeset viewer.