[Yaml] fixed typo

This commit is contained in:
Fabien Potencier 2013-09-22 19:30:19 +02:00
parent 213b888ea4
commit 2e87d1d3f9
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class ParseExceptionTest extends \PHPUnit_Framework_TestCase
public function testGetMessage()
{
$exception = new ParseException('Error message', 42, 'foo: bar', '/var/www/app/config.yml');
if (version_compare(PHP_VERSION, '5.4.0', '>=') {
if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
$message = 'Error message in "/var/www/app/config.yml" at line 42 (near "foo: bar")';
} else {
$message = 'Error message in "\\/var\\/www\\/app\\/config.yml" at line 42 (near "foo: bar")';