diff options
Diffstat (limited to 'modules/simpletest')
-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>.'); } |