Permalink
Browse files

Fix misc regression, test expectations

  • Loading branch information...
1 parent aea5815 commit d83637cbd6101cf6cbe8b452445a123128311d3b @CloCkWeRX CloCkWeRX committed Jan 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/HTML_BBCodeParserTest.php
@@ -37,9 +37,9 @@ function emailBBCode($bbc, $funcNam)
function imgBBCode($bbc, $funcNam)
{
- $this->assertEquals('<img src="/images/Enthalpy Wheel.png" width="100" height="99" alt="Enthalpy Wheel" />', $bbc->$funcNam('[img w=100 h=99 alt=Enthalpy Wheel]/images/Enthalpy Wheel.png[/img]'));
- $this->assertEquals('<img src="img.jpg" />', $bbc->$funcNam('[img]img.jpg[/img]'));
- $this->assertEquals('<img src="http://www.server.org/image.jpg" width="100" height="200" />', $bbc->$funcNam('[img w=100 h=200]http://www.server.org/image.jpg[/img]'));
+ $this->assertEquals('<img src="/images/Enthalpy Wheel.png" alt="Enthalpy Wheel" width="100" height="99" />', $bbc->$funcNam('[img w=100 h=99 alt=Enthalpy Wheel]/images/Enthalpy Wheel.png[/img]'));
+ $this->assertEquals('<img src="img.jpg" alt="" />', $bbc->$funcNam('[img]img.jpg[/img]'));
+ $this->assertEquals('<img src="http://www.server.org/image.jpg" alt="" width="100" height="200" />', $bbc->$funcNam('[img w=100 h=200]http://www.server.org/image.jpg[/img]'));
}
function basicBBCode($bbc, $funcNam)

0 comments on commit d83637c

Please sign in to comment.