Skip to content

Commit

Permalink
refs #6469 fix test as it should ignore bower_components folder
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed Oct 20, 2014
1 parent 20c7801 commit 9b6e151
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/PHPUnit/Integration/ReleaseCheckListTest.php
Expand Up @@ -270,13 +270,14 @@ public function testEndOfLines()
strpos($file, '/tests/') !== false ||
strpos($file, '/lang/') !== false ||
strpos($file, 'yuicompressor') !== false ||
strpos($file, '/libs/bower_components') !== false ||
strpos($file, '/tmp/') !== false
) {
continue;
}

// skip files with these file extensions
if (preg_match('/\.(bmp|fdf|gif|deb|deflate|exe|gz|ico|jar|jpg|p12|pdf|png|rar|swf|vsd|z|zip|ttf|so|dat|eps|phar|pyc)$/', $file)) {
if (preg_match('/\.(bmp|fdf|gif|deb|deflate|exe|gz|ico|jar|jpg|p12|pdf|png|rar|swf|vsd|z|zip|ttf|so|dat|eps|phar|pyc|gzip)$/', $file)) {
continue;
}

Expand Down

0 comments on commit 9b6e151

Please sign in to comment.