Fix CS again

This commit is contained in:
jubianchi 2016-08-05 20:53:13 +02:00
parent b4da68cf7b
commit 641f42a6c2
No known key found for this signature in database
GPG key ID: 5D9C896D2AA9E390
2 changed files with 6 additions and 3 deletions

View file

@ -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());
});
});

View file

@ -84,7 +84,6 @@ $application->register('render')
$renderer->display($graph);
break;
}
});
$application->run();