Skip to content

Commit

Permalink
- Fixed: Test now works with PHP 5.2.x and PHPUnit 3.6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelpichler committed Nov 23, 2011
1 parent ec7128c commit dcf12c7
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -96,11 +96,10 @@ public function testHelperThrowsExceptionForInvalidToken()
* testHelperThrowsExceptionWithExpectedExceptionMessage
*
* @return void
* @expectedException PHP_Depend_Parser_TokenException
*/
public function testHelperThrowsExceptionWithExpectedExceptionMessage()
{
$this->setExpectedException('Exception', "Unexpected character in input: '\' (ASCII=92) state=1");

self::parseCodeResourceForTest();
}
}
}

0 comments on commit dcf12c7

Please sign in to comment.