diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-08-01 23:35:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-08-01 23:35:01 +0000 |
commit | c6f65d2e595106ae08fd4aee5b7167c48552b6d2 (patch) | |
tree | 9786effe43ed92a4693f3df66bedd7e69ca2b68b | |
parent | 2651654d090075bd2b712063bfe0f6f01cfef7d4 (diff) | |
download | brdo-c6f65d2e595106ae08fd4aee5b7167c48552b6d2.tar.gz brdo-c6f65d2e595106ae08fd4aee5b7167c48552b6d2.tar.bz2 |
- Patch #871068 by cwgordon7: 'catched' to 'caught'.
-rw-r--r-- | modules/simpletest/simpletest.test | 2 | ||||
-rw-r--r-- | modules/simpletest/tests/system_test.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/simpletest.test b/modules/simpletest/simpletest.test index 13cd5ae42..339bf2a5e 100644 --- a/modules/simpletest/simpletest.test +++ b/modules/simpletest/simpletest.test @@ -154,7 +154,7 @@ class SimpleTestFunctionalTest extends DrupalWebTestCase { $this->assertAssertion(t('Created permissions: @perms', array('@perms' => $this->valid_permission)), 'Role', 'Pass', 'simpletest.test', 'SimpleTestFunctionalTest->stubTest()'); $this->assertAssertion(t('Invalid permission %permission.', array('%permission' => $this->invalid_permission)), 'Role', 'Fail', 'simpletest.test', 'SimpleTestFunctionalTest->stubTest()'); - // Check that a warning is catched by simpletest. + // Check that a warning is caught by simpletest. $this->assertAssertion('Division by zero', 'Warning', 'Fail', 'simpletest.test', 'SimpleTestFunctionalTest->stubTest()'); // Check that the backtracing code works for specific assert function. diff --git a/modules/simpletest/tests/system_test.module b/modules/simpletest/tests/system_test.module index 215fc87ee..76d2701cf 100644 --- a/modules/simpletest/tests/system_test.module +++ b/modules/simpletest/tests/system_test.module @@ -306,7 +306,7 @@ function _system_test_second_shutdown_function($arg1, $arg2) { // Throw an exception with an HTML tag. Since this is called in a shutdown // function, it will not bubble up to the default exception handler but will - // be catched in _drupal_shutdown_function() and be displayed through + // be caught in _drupal_shutdown_function() and be displayed through // _drupal_render_exception_safe(). throw new Exception('Drupal is <blink>awesome</blink>.'); } |