Fix CS again
This commit is contained in:
parent
b4da68cf7b
commit
641f42a6c2
2 changed files with 6 additions and 3 deletions
|
@ -6,7 +6,9 @@ require_once __DIR__.'/../vendor/autoload.php';
|
|||
|
||||
describe('Reading configuration', function () {
|
||||
it('should check if file exists', function () {
|
||||
expect(function () { readConfiguration(uniqid()); })
|
||||
expect(function () {
|
||||
readConfiguration(uniqid());
|
||||
})
|
||||
->toThrow(new InvalidArgumentException());
|
||||
});
|
||||
|
||||
|
@ -16,7 +18,9 @@ describe('Reading configuration', function () {
|
|||
});
|
||||
|
||||
it('should report if YAML is invalid', function () {
|
||||
expect(function () { readConfiguration(__DIR__.'/fixtures/read-configuration/invalid.json'); })
|
||||
expect(function () {
|
||||
readConfiguration(__DIR__.'/fixtures/read-configuration/invalid.json');
|
||||
})
|
||||
->toThrow(new InvalidArgumentException());
|
||||
});
|
||||
});
|
||||
|
|
|
@ -84,7 +84,6 @@ $application->register('render')
|
|||
$renderer->display($graph);
|
||||
break;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
$application->run();
|
||||
|
|
Loading…
Reference in a new issue