Code Editor: Fix phpunit tests related to gutters
after [41974].
See #12423. git-svn-id: https://develop.svn.wordpress.org/trunk@41994 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7ddfa7c135
commit
a411d5571a
@ -753,9 +753,11 @@ class Tests_Dependencies_Scripts extends WP_UnitTestCase {
|
|||||||
'matchTags',
|
'matchTags',
|
||||||
'mode',
|
'mode',
|
||||||
'styleActiveLine',
|
'styleActiveLine',
|
||||||
|
'gutters',
|
||||||
),
|
),
|
||||||
array_keys( $wp_enqueue_code_editor['codemirror'] )
|
array_keys( $wp_enqueue_code_editor['codemirror'] )
|
||||||
);
|
);
|
||||||
|
$this->assertEmpty( $wp_enqueue_code_editor['codemirror']['gutters'] );
|
||||||
|
|
||||||
$this->assertEqualSets(
|
$this->assertEqualSets(
|
||||||
array(
|
array(
|
||||||
@ -833,9 +835,11 @@ class Tests_Dependencies_Scripts extends WP_UnitTestCase {
|
|||||||
'lineWrapping',
|
'lineWrapping',
|
||||||
'mode',
|
'mode',
|
||||||
'styleActiveLine',
|
'styleActiveLine',
|
||||||
|
'gutters',
|
||||||
),
|
),
|
||||||
array_keys( $wp_enqueue_code_editor['codemirror'] )
|
array_keys( $wp_enqueue_code_editor['codemirror'] )
|
||||||
);
|
);
|
||||||
|
$this->assertEmpty( $wp_enqueue_code_editor['codemirror']['gutters'] );
|
||||||
|
|
||||||
$this->assertEqualSets(
|
$this->assertEqualSets(
|
||||||
array(
|
array(
|
||||||
|
Loading…
Reference in New Issue
Block a user