Skip to content

Commit

Permalink
Fixing tests for table header (see #18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregwar committed Oct 14, 2014
1 parent 278692e commit 60fe81c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/HTMLTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ public function testTable()
public function testHeaderTable()
{
$document = $this->parseHTML('table2.rst');
echo "$document";

$this->assertEquals(2, substr_count($document, '<th>'));
$this->assertEquals(2, substr_count($document, '</th>'));
$this->assertNotContains('==', $document);
}

/**
Expand Down

0 comments on commit 60fe81c

Please sign in to comment.