Changeset 28064
- Timestamp:
- 04/09/2014 11:49:05 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/license.txt
r27369 r28064 1 1 WordPress - Web publishing software 2 2 3 Copyright 201 3by the contributors3 Copyright 2014 by the contributors 4 4 5 5 This program is free software; you can redistribute it and/or modify -
trunk/tests/phpunit/tests/basic.php
r26940 r28064 28 28 list( $version ) = explode( '-', $GLOBALS['wp_version'] ); 29 29 $this->assertEquals( $version, trim( $matches[1] ), "readme.html's version needs to be updated to $version." ); 30 } 31 32 function test_license() { 33 $license = file_get_contents( ABSPATH . 'license.txt' ); 34 preg_match( '#Copyright (\d+) by the contributors#', $license, $matches ); 35 $this_year = date( 'Y' ); 36 $this->assertEquals( $this_year, trim( $matches[1] ), "license.txt's year needs to be updated to $this_year." ); 30 37 } 31 38
Note: See TracChangeset
for help on using the changeset viewer.