summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-29 21:35:38 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-29 21:35:38 +0000
commit16cb95557ddfaf134e25aa08cb8b6ef36e1f6d2b (patch)
tree8caffc76edc2f11727c37ec2a8f905358304b5cf /modules/simpletest
parent4c05294527ff697479b8fe07d396267fe054adb9 (diff)
downloadbrdo-16cb95557ddfaf134e25aa08cb8b6ef36e1f6d2b.tar.gz
brdo-16cb95557ddfaf134e25aa08cb8b6ef36e1f6d2b.tar.bz2
- Patch #295864 by boombatower, sun: fixed typos in the documentation. Nice catches, sun\!
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/drupal_web_test_case.php17
1 files changed, 10 insertions, 7 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 424e1f335..7954c7a64 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -641,11 +641,13 @@ class DrupalWebTestCase {
}
/**
- * Generates a random string of ASCI characters of codes 32 to 126. That
- * includes alpha-numeric characters and common misc characters.
+ * Generates a random string of ASCII characters of codes 32 to 126.
+ *
+ * The generated string includes alpha-numeric characters and common misc
+ * characters.
*
* @param $length
- * Length of random string to generate which will be appended to $db_prefx.
+ * Length of random string to generate which will be appended to $db_prefix.
* @return
* Randomly generated string.
*/
@@ -660,12 +662,13 @@ class DrupalWebTestCase {
}
/**
- * Generates a random string containing letters, both capital and lower, and
- * numbers. This method is better for restricted inputs that do not accept
- * certain characters.
+ * Generates a random string containing letters and numbers.
+ *
+ * The letters may be upper or lower case. This method is better for
+ * restricted inputs that do not accept certain characters.
*
* @param $length
- * Length of random string to generate which will be appended to $db_prefx.
+ * Length of random string to generate which will be appended to $db_prefix.
* @return
* Randomly generated string.
*/