Changeset 50194 for branches/5.5/tests/phpunit/tests/basic.php
- Timestamp:
- 02/05/2021 03:40:14 AM (4 years ago)
- Location:
- branches/5.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5
-
branches/5.5/tests/phpunit/tests/basic.php
r47403 r50194 47 47 $this->assertArrayHasKey( 'engines', $package_json ); 48 48 $this->assertArrayHasKey( 'node', $package_json['engines'] ); 49 $node = $package_json['engines']['node'];50 $this->assertRegExp( '~^=?\d+\.\d+\.\d+$~', $node, "package.json's node version cannot be a range." );51 49 } 52 50
Note: See TracChangeset
for help on using the changeset viewer.