Changeset 26489
- Timestamp:
- 12/01/2013 12:26:07 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/basic.php
r26166 r26489 27 27 preg_match( '#<br /> Version (.*)#', $readme, $matches ); 28 28 list( $version ) = explode( '-', $GLOBALS['wp_version'] ); 29 $this->assertEquals( $version, $matches[1], "readme.html's version needs to be updated to $version." );29 $this->assertEquals( $version, trim( $matches[1] ), "readme.html's version needs to be updated to $version." ); 30 30 } 31 31
Note: See TracChangeset
for help on using the changeset viewer.