Ensure that dotfiles can be excluded, fixes #8866
parent
25542aca70
commit
10d3895f18
|
@ -43,6 +43,7 @@ class ArchivableFilesFinderTest extends TestCase
|
|||
);
|
||||
|
||||
$fileTree = array(
|
||||
'.foo',
|
||||
'A/prefixA.foo',
|
||||
'A/prefixB.foo',
|
||||
'A/prefixC.foo',
|
||||
|
@ -109,6 +110,7 @@ class ArchivableFilesFinderTest extends TestCase
|
|||
'/prefixA.foo',
|
||||
'prefixC.*',
|
||||
'!*/*/*/prefixC.foo',
|
||||
'.*',
|
||||
);
|
||||
|
||||
$this->finder = new ArchivableFilesFinder($this->sources, $excludes);
|
||||
|
@ -213,6 +215,7 @@ class ArchivableFilesFinderTest extends TestCase
|
|||
'/!important!.txt',
|
||||
'/!important_too!.txt',
|
||||
'/#weirdfile',
|
||||
'/.foo',
|
||||
'/A/prefixA.foo',
|
||||
'/A/prefixB.foo',
|
||||
'/A/prefixC.foo',
|
||||
|
|
Loading…
Reference in New Issue