Skip to content

Commit b0cfbc8

Browse files
joedolsonsirreal
andauthored
Update tests/phpunit/tests/dependencies/scripts.php
Co-authored-by: Jon Surrell <[email protected]>
1 parent 69b243a commit b0cfbc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/tests/dependencies/scripts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@ public function test_wp_script_add_data_with_data_key() {
16381638
public function test_wp_script_add_data_with_conditional_key() {
16391639
// Enqueue and add conditional comments.
16401640
wp_enqueue_script( 'test-only-conditional', 'example.com', array(), null );
1641-
wp_script_add_data( 'test-only-conditional', 'conditional', 'gt IE 7' );
1641+
$this->assertFalse( wp_script_add_data( 'test-only-conditional', 'conditional', 'gt IE 7' ) );
16421642
$expected = '';
16431643

16441644
// Go!

0 commit comments

Comments
 (0)