Changeset 42095 for branches/4.1
- Timestamp:
- 10/31/2017 05:46:35 PM (7 years ago)
- Location:
- branches/4.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1/src/readme.html
r41517 r42095 10 10 <h1 id="logo"> 11 11 <a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a> 12 <br /> Version 4.1.1913 12 </h1> 14 13 <p style="text-align: center">Semantic Personal Publishing Platform</p> -
branches/4.1/tests/phpunit/tests/basic.php
r40246 r42095 20 20 function test_true() { 21 21 $this->assertTrue($this->val); 22 }23 24 function test_readme() {25 $readme = file_get_contents( ABSPATH . 'readme.html' );26 preg_match( '#<br /> Version (.*)#', $readme, $matches );27 list( $version ) = explode( '-', $GLOBALS['wp_version'] );28 $this->assertEquals( $version, trim( $matches[1] ), "readme.html's version needs to be updated to $version." );29 22 } 30 23
Note: See TracChangeset
for help on using the changeset viewer.