Skip to content

Commit

Permalink
okay, now I sure know that @klaussilveira didn't take a second look o…
Browse files Browse the repository at this point in the history
…n the tests. My regex is perfect, the problem was in your test
  • Loading branch information
gutomaia committed Dec 16, 2011
1 parent 13dda21 commit 01986e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/LatexAnalyzerTest.php
Expand Up @@ -223,7 +223,7 @@ public function testIsParsingMultipleCommandsAndNewlines() {
}

public function testIsParsingCommandsWithoutParameters() {
$tokens = $this->latex->parse("Lorem \frontmatter");
$tokens = $this->latex->parse('Lorem \frontmatter');
$this->assertNotNull($tokens);
$this->assertEquals(2, sizeof($tokens));
$token = $tokens[0];
Expand All @@ -233,7 +233,7 @@ public function testIsParsingCommandsWithoutParameters() {
$this->assertEquals(1, $token->column);
$token = $tokens[1];
$this->assertEquals("T_LATEX_COMMAND", $token->type);
$this->assertEquals("\frontmatter", $token->value);
$this->assertEquals('\frontmatter', $token->value);
$this->assertEquals(1, $token->line);
$this->assertEquals(7, $token->column);
}
Expand Down

0 comments on commit 01986e3

Please sign in to comment.