diff options
Diffstat (limited to 'modules/gallery/tests/Html_Helper_Test.php')
-rw-r--r-- | modules/gallery/tests/Html_Helper_Test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/tests/Html_Helper_Test.php b/modules/gallery/tests/Html_Helper_Test.php index a9903256..f5ce7fa4 100644 --- a/modules/gallery/tests/Html_Helper_Test.php +++ b/modules/gallery/tests/Html_Helper_Test.php @@ -40,9 +40,9 @@ class Html_Helper_Test extends Unit_Test_Case { $safe_string_2); } - public function clean_js_test() { - $string = html::clean_js("hello's <p >world</p>"); - $this->assert_equal("hello\\'s <p >world<\\/p>", + public function js_string_test() { + $string = html::js_string("hello's <p >world</p>"); + $this->assert_equal('"hello\'s <p >world<\\/p>"', $string); } |