summaryrefslogtreecommitdiff
path: root/modules/simpletest/simpletest.module
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-10-02 11:09:00 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-10-02 11:09:00 -0700
commitd967abdf1dab8b23fba39ce2aa35fe09cd5578f5 (patch)
treeb4c4c404d4683b934b4687ed696b883dd2ec905a /modules/simpletest/simpletest.module
parent9c42142614fdb292e231766dc778b959d74649c9 (diff)
downloadbrdo-d967abdf1dab8b23fba39ce2aa35fe09cd5578f5.tar.gz
brdo-d967abdf1dab8b23fba39ce2aa35fe09cd5578f5.tar.bz2
Issue #1054848 by barraponto: Fixing common typos through codespell.py.
Diffstat (limited to 'modules/simpletest/simpletest.module')
-rw-r--r--modules/simpletest/simpletest.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module
index 586b23ae7..b820f5307 100644
--- a/modules/simpletest/simpletest.module
+++ b/modules/simpletest/simpletest.module
@@ -272,7 +272,7 @@ function simpletest_log_read($test_id, $prefix, $test_class, $during_test = FALS
DrupalTestCase::insertAssert($test_id, $test_class, FALSE, $match[2], $match[1], $caller);
}
else {
- // Unkown format, place the entire message in the log.
+ // Unknown format, place the entire message in the log.
DrupalTestCase::insertAssert($test_id, $test_class, FALSE, $line, 'Fatal error');
}
$found = TRUE;
@@ -398,7 +398,7 @@ function simpletest_generate_file($filename, $width, $lines, $type = 'binary-tex
break;
}
}
- $text = wordwrap($text, $width - 1, "\n", TRUE) . "\n"; // Add \n for symetrical file.
+ $text = wordwrap($text, $width - 1, "\n", TRUE) . "\n"; // Add \n for symmetrical file.
// Create filename.
file_put_contents('public://' . $filename . '.txt', $text);