diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-03-26 20:55:33 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-03-26 20:55:33 +0200 |
commit | ebdfc0385552c37d59889f8b9b13f7777d852500 (patch) | |
tree | 36fd681638dd063a306de4b8d2668ffc5cb7f2d7 /_test/cases/inc/parser | |
parent | f77429b85e175fe6d9cdba3f30b2fd19662b21e6 (diff) | |
download | rpg-ebdfc0385552c37d59889f8b9b13f7777d852500.tar.gz rpg-ebdfc0385552c37d59889f8b9b13f7777d852500.tar.bz2 |
some test cleanups
darcs-hash:20070326185533-7ad00-487a00e955386bdccd145928c7d69178327ded69.gz
Diffstat (limited to '_test/cases/inc/parser')
-rw-r--r-- | _test/cases/inc/parser/xhtml_links.test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_test/cases/inc/parser/xhtml_links.test.php b/_test/cases/inc/parser/xhtml_links.test.php index 42ffb020e..6a74445b0 100644 --- a/_test/cases/inc/parser/xhtml_links.test.php +++ b/_test/cases/inc/parser/xhtml_links.test.php @@ -12,7 +12,7 @@ class xhtml_links_test extends UnitTestCase { $p = new Doku_Renderer_xhtml(); $p->emaillink('foo@example.com','<script>alert(\'"alert"\');</script>'); - $expect = '<a href="mailto:foo%20%5Bat%5D%20example%20%5Bdot%5D%20com" class="mail JSnocheck" title="foo [at] example [dot] com"><script>alert(\'"alert"\');</script></a>'; + $expect = '<a href="mailto:foo%20%5Bat%5D%20example%20%5Bdot%5D%20com" class="mail JSnocheck" title="foo [at] example [dot] com"><script>alert('"alert"');</script></a>'; $this->assertEqual($p->doc,$expect); } |