feat: adjust formatting for clang-format v1.0.19.

This commit is contained in:
Martin Probst
2015-06-12 07:50:45 -07:00
parent 1c2abbc61d
commit a6e7123995
50 changed files with 363 additions and 350 deletions

View File

@ -72,9 +72,7 @@ class MockMetric extends Metric {
endMeasure(restart: boolean): Promise<StringMap<string, any>> {
var result = {};
result[this._id] = {
'restart': restart
};
result[this._id] = {'restart': restart};
return PromiseWrapper.resolve(result);
}

View File

@ -18,9 +18,8 @@ export function main() {
var reporter;
var log;
function createReporter({columnWidth = null, sampleId = null, descriptions = null, metrics = null}:{
columnWidth?, sampleId?, descriptions?, metrics?
}) {
function createReporter({columnWidth = null, sampleId = null, descriptions = null,
metrics = null}: {columnWidth?, sampleId?, descriptions?, metrics?}) {
log = [];
if (isBlank(descriptions)) {
descriptions = [];

View File

@ -31,10 +31,7 @@ export function main() {
bind(Options.NOW).toValue(() => DateWrapper.fromMillis(1234)),
bind(Options.WRITE_FILE)
.toValue((filename, content) => {
loggedFile = {
'filename': filename,
'content': content
};
loggedFile = {'filename': filename, 'content': content};
return PromiseWrapper.resolve(null);
})
];