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.

merge-requests/26/head
Pol Dellaiera 2019-01-09 07:34:15 +01:00
parent a5c07d45f9
commit a15eff0a8a
No known key found for this signature in database
GPG Key ID: 326683691C3250DB
1 changed files with 1 additions and 1 deletions

View File

@ -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.