Changeset 36856
- Timestamp:
- 03/05/2016 08:21:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/basic.php
r36779 r36856 9 9 function test_license() { 10 10 $license = file_get_contents( ABSPATH . 'license.txt' ); 11 preg_match( '#Copyright (\d+) by the contributors#', $license, $matches );11 preg_match( '#Copyright 2011-(\d+) by the contributors#', $license, $matches ); 12 12 $this_year = date( 'Y' ); 13 13 $this->assertEquals( $this_year, trim( $matches[1] ), "license.txt's year needs to be updated to $this_year." );
Note: See TracChangeset
for help on using the changeset viewer.