Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
7 | public function testIsVersionMatching() |
||
8 | { |
||
9 | $matcher = new NodeJsVersionMatcher(); |
||
10 | $this->assertTrue($matcher->isVersionMatching('0.12.0', '~0.11')); |
||
11 | $this->assertFalse($matcher->isVersionMatching('0.12.0', '~0.11.0')); |
||
12 | $this->assertTrue($matcher->isVersionMatching('0.12.0', '~0.11, <1.0')); |
||
13 | $this->assertFalse($matcher->isVersionMatching('0.12.0', '~0.11, <1.0, >1.1')); |
||
14 | } |
||
15 | |||
22 |