summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-28 02:30:32 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-28 02:30:32 +0000
commitb1190c11b5551f20a99514bf2b0719b74449277d (patch)
tree1c9f62e1b67ab1950c95944862d8fd1120c54291 /scripts
parentb095783699dc4d912da49000941b10bae6778037 (diff)
downloadbrdo-b1190c11b5551f20a99514bf2b0719b74449277d.tar.gz
brdo-b1190c11b5551f20a99514bf2b0719b74449277d.tar.bz2
- Patch #924686 by mikey_p, munzirtaha: space required after foreach construct.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run-tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index ee6c90080..f610f7938 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -41,7 +41,7 @@ if ($args['clean']) {
// Get the status messages and print them.
$messages = array_pop(drupal_get_messages('status'));
- foreach($messages as $text) {
+ foreach ($messages as $text) {
echo " - " . $text . "\n";
}
exit;
@@ -431,7 +431,7 @@ function simpletest_script_get_test_list() {
// Check for valid group names and get all valid classes in group.
foreach ($args['test_names'] as $group_name) {
if (isset($groups[$group_name])) {
- foreach($groups[$group_name] as $class_name => $info) {
+ foreach ($groups[$group_name] as $class_name => $info) {
$test_list[] = $class_name;
}
}