Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
44 | public function testGlobPattern() |
||
45 | { |
||
46 | vfsStream::create([ |
||
47 | 'bin' => [ |
||
48 | 'console.php' => '', |
||
49 | 'console123.php' => '', |
||
50 | 'not-console' => '', |
||
51 | ], |
||
52 | ]); |
||
53 | |||
54 | $files = $this->files(['bin/console*.php'], $this->root->url()); |
||
55 | self::assertCount(2, $files); |
||
56 | self::assertContains($this->root->getChild('bin/console.php')->url(), $files); |
||
57 | self::assertContains($this->root->getChild('bin/console123.php')->url(), $files); |
||
58 | } |
||
74 |