diff options
Diffstat (limited to 'modules/system/system.test')
-rw-r--r-- | modules/system/system.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/system/system.test b/modules/system/system.test index b2da62566..c97c50914 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -1818,6 +1818,10 @@ class ShutdownFunctionsTest extends DrupalWebTestCase { $this->drupalGet('system-test/shutdown-functions/' . $arg1 . '/' . $arg2); $this->assertText(t('First shutdown function, arg1 : @arg1, arg2: @arg2', array('@arg1' => $arg1, '@arg2' => $arg2))); $this->assertText(t('Second shutdown function, arg1 : @arg1, arg2: @arg2', array('@arg1' => $arg1, '@arg2' => $arg2))); + + // Make sure exceptions displayed through _drupal_render_exception_safe() + // are correctly escaped. + $this->assertText('Drupal is <blink>awesome</blink>.'); } } |