Skip to content

Commit

Permalink
feat(test) add test testSymfonyParser
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Feb 25, 2021
1 parent 5c74215 commit f5885b6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Tests/DeviceDetectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,25 @@ public function testCheckYamlExtraLint(): void
$this->assertTrue(true);
}

/**
* check the Symfony parser for fixtures parsing errors
*/
public function testSymfonyParser(): void
{
$files = \array_merge(
\glob(__DIR__ . '/../regexes/client/*.yml'),
\glob(__DIR__ . '/../regexes/client/*.yml'),
\glob(__DIR__ . '/../regexes/*.yml')
);
$yamlSymfony = new Symfony();

foreach ($files as $file) {
$yamlSymfony->parseFile($file);
}

$this->markTestIncomplete();
}

/**
* check the regular expression for the vertical line closing the group
* @param string $regexString
Expand Down

0 comments on commit f5885b6

Please sign in to comment.