Changeset 50192 for trunk/tests/phpunit/tests/basic.php
- Timestamp:
- 02/05/2021 03:36:26 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/basic.php
r48937 r50192 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.