diff options
authorPol Dellaiera2019-01-09 06:34:15 (GMT)
committerPol Dellaiera2019-01-09 06:34:15 (GMT)
commita15eff0a8a1c3320fcf14e6fa4b8197aa5f1e1c9 (patch)
parenta5c07d45f96e096a56bb6bcd908510be322843ff (diff)
Issue #2482549 by Pol, marcelovani, ndf,, TR, jenlampton, kaidjohnson, ufku, MiSc, David_Rothstein, RobLoach, pablo.guerino, afoster, geerlingguy, SebCorbin, joelpittet, JohnAlbin: Fix up commit - convert short array styles to long.7.x
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/file/tests/file.test b/modules/file/tests/file.test
index fb5c034..849451a 100644
--- a/modules/file/tests/file.test
+++ b/modules/file/tests/file.test
@@ -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.