Issue #2482549 by Pol, marcelovani, ndf, drupal@guusvandewal.nl, TR, jenlampton, kaidjohnson, ufku, MiSc, David_Rothstein, RobLoach, pablo.guerino, afoster, geerlingguy, SebCorbin, joelpittet, JohnAlbin: Fix up commit - convert short array styles to long.
parent
a5c07d45f9
commit
a15eff0a8a
|
@ -1922,7 +1922,7 @@ class FileScanDirectory extends FileFieldTestCase {
|
|||
$this->assertEqual(1, count($files), '1 text files found when ignoring directories called "frontend_framework".');
|
||||
|
||||
// Make that directories specified by default still work when a new nomask is provided.
|
||||
$files = file_scan_directory($this->path, '/\.txt$/', ['nomask' => '/^c.txt/']);
|
||||
$files = file_scan_directory($this->path, '/\.txt$/', array('nomask' => '/^c.txt/'));
|
||||
$this->assertEqual(2, count($files), '2 text files found when an "nomask" option is passed in.');
|
||||
|
||||
// Ensure that the directories in file_scan_ignore_directories are escaped using preg_quote.
|
||||
|
|
Loading…
Reference in New Issue