Skip to content

Commit

Permalink
dartfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Jul 10, 2018
1 parent 8fc6ae5 commit e30b170
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion benchmark/lib/benchmarks/get_strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class GetStringsBenchmark extends Benchmark {
}

static int getTagForColumn(pb.Line10 line, int x) {
return line.getTagNumber('cell${x+1}'); // assume x start from 1
return line.getTagNumber('cell${x + 1}'); // assume x start from 1
}

@override
Expand Down
2 changes: 1 addition & 1 deletion benchmark/lib/benchmarks/has_strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class HasStringsBenchmark extends Benchmark {
}

static int getTagForColumn(pb.Line10 line, int x) {
return line.getTagNumber('cell${x+1}'); // assume x start from 1
return line.getTagNumber('cell${x + 1}'); // assume x start from 1
}

@override
Expand Down
2 changes: 1 addition & 1 deletion benchmark/lib/benchmarks/int32_json.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Int32Benchmark extends Benchmark {
}

static int getTagForColumn(pb.Line10 line, int x) {
return line.getTagNumber('cell${x+1}'); // assume x start from 1
return line.getTagNumber('cell${x + 1}'); // assume x start from 1
}

@override
Expand Down
2 changes: 1 addition & 1 deletion benchmark/lib/benchmarks/int64_json.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Int64Benchmark extends Benchmark {
}

static int getTagForColumn(pb.Line10 line, int x) {
return line.getTagNumber('cell${x+1}'); // assume x start from 1
return line.getTagNumber('cell${x + 1}'); // assume x start from 1
}

@override
Expand Down
2 changes: 1 addition & 1 deletion benchmark/lib/benchmarks/set_strings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class SetStringsBenchmark extends Benchmark {
}

static int getTagForColumn(pb.Line10 line, int x) {
return line.getTagNumber('cell${x+1}'); // assume x start from 1
return line.getTagNumber('cell${x + 1}'); // assume x start from 1
}

@override
Expand Down
2 changes: 1 addition & 1 deletion benchmark/lib/benchmarks/string_json.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class StringBenchmark extends Benchmark {
}

static int getTagForColumn(pb.Line10 line, int x) {
return line.getTagNumber('cell${x+1}'); // assume x start from 1
return line.getTagNumber('cell${x + 1}'); // assume x start from 1
}

@override
Expand Down
3 changes: 2 additions & 1 deletion benchmark/lib/dashboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ Future showDashboard(pb.Suite suite, Element container) async {
for (pb.Report report in runSuite(requests, profiler: profiler)) {
await render(report);
}
}().whenComplete(() {
}()
.whenComplete(() {
running = false;
});
}
Expand Down
4 changes: 2 additions & 2 deletions test/repeated_field_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ void main() {
}, returnsNormally);

expect(() {
TestAllTypes_RepeatedGroup
.$checkItem(cast(new TestAllTypes_OptionalGroup()));
TestAllTypes_RepeatedGroup.$checkItem(
cast(new TestAllTypes_OptionalGroup()));
}, throwsATypeError);
});

Expand Down

0 comments on commit e30b170

Please sign in to comment.