chore: move to clang-format 1.0.17.
clang-format 1.0.17 substantially improves formatting for fat arrow functions and array literal detection. It also fixes a number of minor formatting issues.
This commit is contained in:
@ -42,11 +42,9 @@ export function main() {
|
||||
|
||||
it('should not allow overriding a template after it has been resolved', () => {
|
||||
resolver.resolve(SomeComponent);
|
||||
expect(() =>
|
||||
{
|
||||
resolver.setView(SomeComponent,
|
||||
new viewImpl.View({template: 'overridden template'}));
|
||||
})
|
||||
expect(() => {
|
||||
resolver.setView(SomeComponent, new viewImpl.View({template: 'overridden template'}));
|
||||
})
|
||||
.toThrowError(
|
||||
`The component ${stringify(SomeComponent)} has already been compiled, its configuration can not be changed`);
|
||||
});
|
||||
@ -101,9 +99,9 @@ export function main() {
|
||||
|
||||
it('should not allow overriding a directive after its template has been resolved', () => {
|
||||
resolver.resolve(SomeComponent);
|
||||
expect(
|
||||
() =>
|
||||
{ resolver.overrideViewDirective(SomeComponent, SomeDirective, SomeOtherDirective); })
|
||||
expect(() => {
|
||||
resolver.overrideViewDirective(SomeComponent, SomeDirective, SomeOtherDirective);
|
||||
})
|
||||
.toThrowError(
|
||||
`The component ${stringify(SomeComponent)} has already been compiled, its configuration can not be changed`);
|
||||
});
|
||||
|
Reference in New Issue
Block a user