A fork of potaka/bbcode to handle future maintenance
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
351B

  1. <?php
  2. /**
  3. * Description of BoldTest
  4. *
  5. * @author po_taka <angel.koilov@gmail.com
  6. */
  7. class ItalicTest extends PHPUnit_Framework_TestCase {
  8. public function testToHtml() {
  9. $tag = new Potaka\BbCode\Tag\Italic();
  10. $bbCode = '[i]i[/i]';
  11. $html = $tag->format($bbCode);
  12. $this->assertEquals($html, '<i>i</i>');
  13. }
  14. }