WordPress.org

Make WordPress Core

Changeset 41994


Ignore:
Timestamp:
10/24/17 16:57:10 (4 weeks ago)
Author:
westonruter
Message:

Code Editor: Fix phpunit tests related to gutters after [41974].

See #12423.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/dependencies/scripts.php

    r41855 r41994  
    754754                'mode', 
    755755                'styleActiveLine', 
     756                'gutters', 
    756757            ), 
    757758            array_keys( $wp_enqueue_code_editor['codemirror'] ) 
    758759        ); 
     760        $this->assertEmpty( $wp_enqueue_code_editor['codemirror']['gutters'] ); 
    759761 
    760762        $this->assertEqualSets( 
     
    834836                'mode', 
    835837                'styleActiveLine', 
     838                'gutters', 
    836839            ), 
    837840            array_keys( $wp_enqueue_code_editor['codemirror'] ) 
    838841        ); 
     842        $this->assertEmpty( $wp_enqueue_code_editor['codemirror']['gutters'] ); 
    839843 
    840844        $this->assertEqualSets( 
Note: See TracChangeset for help on using the changeset viewer.