diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-08-30 18:07:13 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-30 18:07:13 -0700 |
commit | df38a890a64dd33eafe3aed51ce8fde732cf8b8b (patch) | |
tree | baae9f0613c0084e40da79ef984e333fa9f2da04 /modules/gallery/tests/Html_Helper_Test.php | |
parent | 00c73ec852c29c214d72193ce368bc12a7305794 (diff) |
Tabs to spaces cleanup
Diffstat (limited to 'modules/gallery/tests/Html_Helper_Test.php')
-rw-r--r-- | modules/gallery/tests/Html_Helper_Test.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/gallery/tests/Html_Helper_Test.php b/modules/gallery/tests/Html_Helper_Test.php index f5ce7fa4..3623705e 100644 --- a/modules/gallery/tests/Html_Helper_Test.php +++ b/modules/gallery/tests/Html_Helper_Test.php @@ -21,14 +21,14 @@ class Html_Helper_Test extends Unit_Test_Case { public function clean_test() { $safe_string = html::clean("hello <p >world</p>"); $this->assert_equal("hello <p >world</p>", - $safe_string); + $safe_string); $this->assert_true($safe_string instanceof SafeString); } public function purify_test() { $safe_string = html::purify("hello <p >world</p>"); $this->assert_equal("hello <p>world</p>", - $safe_string); + $safe_string); $this->assert_true($safe_string instanceof SafeString); } @@ -37,19 +37,19 @@ class Html_Helper_Test extends Unit_Test_Case { $this->assert_true($safe_string instanceof SafeString); $safe_string_2 = html::clean($safe_string); $this->assert_equal("hello <p >world</p>", - $safe_string_2); + $safe_string_2); } public function js_string_test() { $string = html::js_string("hello's <p >world</p>"); $this->assert_equal('"hello\'s <p >world<\\/p>"', - $string); + $string); } public function clean_attribute_test() { $safe_string = SafeString::of_safe_html("hello's <p >world</p>"); $safe_string = html::clean_attribute($safe_string); $this->assert_equal("hello's <p >world</p>", - $safe_string); + $safe_string); } }
\ No newline at end of file |