File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed
Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -44,19 +44,6 @@ public function data_basic_features() {
4444 );
4545 }
4646
47- /**
48- * Automated performance testing of the main regex.
49- *
50- * @dataProvider data_whole_posts
51- *
52- * @covers ::get_html_split_regex
53- */
54- public function test_pcre_performance ( $ input ) {
55- $ regex = get_html_split_regex ();
56- $ result = benchmark_pcre_backtracking ( $ regex , $ input , 'split ' );
57- return $ this ->assertLessThan ( 200 , $ result );
58- }
59-
6047 public function data_whole_posts () {
6148 require_once DIR_TESTDATA . '/formatting/whole-posts.php ' ;
6249 return data_whole_posts ();
Original file line number Diff line number Diff line change @@ -622,7 +622,7 @@ public function data_escaping() {
622622 * @dataProvider data_escaping2
623623 */
624624 public function test_escaping2 ( $ input , $ output ) {
625- return $ this ->assertSame ( $ output , strip_shortcodes ( $ input ) );
625+ return $ this ->assertEqualHTML ( $ output , strip_shortcodes ( $ input ) );
626626 }
627627
628628 public function data_escaping2 () {
You can’t perform that action at this time.
0 commit comments