Changeset 56969 for trunk/tests/phpunit/tests/compat/strContains.php
- Timestamp:
- 10/18/2023 10:39:19 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/compat/strContains.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/compat/strContains.php
r56548 r56969 27 27 */ 28 28 public function test_str_contains( $expected, $haystack, $needle ) { 29 if ( ! function_exists( 'str_contains' ) ) { 30 $this->markTestSkipped( 'str_contains() is not available.' ); 31 } else { 32 $this->assertSame( 33 $expected, 34 str_contains( $haystack, $needle ) 35 ); 36 } 29 $this->assertSame( $expected, str_contains( $haystack, $needle ) ); 37 30 } 38 31
Note: See TracChangeset
for help on using the changeset viewer.