Skip to content

Commit 3606781

Browse files
fishythefishCommit Queue
authored andcommitted
[dart2js_runtime_metrics] Update pubspec to 3.7 and reformat.
Change-Id: Ia1e81df8120f02d5d26297a84ef1e5e8f110d040 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/400740 Reviewed-by: Nate Biggs <[email protected]> Auto-Submit: Mayank Patke <[email protected]> Commit-Queue: Nate Biggs <[email protected]>
1 parent 0d12749 commit 3606781

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

pkg/dart2js_runtime_metrics/pubspec.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ description: >-
77
This library provides access to the measurements at runtime.
88
99
environment:
10-
# Restrict the upper bound so that we can remove support for this in
11-
# a later version of the SDK without it being a breaking change.
12-
sdk: ">=2.14.0 <2.15.0"
10+
sdk: "^3.7.0-0"
1311

1412
# Use 'any' constraints here; we get our versions from the DEPS file.
1513
dev_dependencies:

pkg/dart2js_runtime_metrics/test/runtime_metrics_test.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ void main() {
2727
}
2828

2929
Expect.isTrue(metrics.containsKey('runtime'), "Has 'runtime' key: $metrics");
30-
Expect.equals(expectedRuntime, metrics['runtime'],
31-
"Expected 'runtime: $expectedRuntime': $metrics");
30+
Expect.equals(
31+
expectedRuntime,
32+
metrics['runtime'],
33+
"Expected 'runtime: $expectedRuntime': $metrics",
34+
);
3235

3336
if (expectedRuntime == 'dart2js') {
3437
Expect.isTrue(metrics.containsKey('allocations'));

pkg/dart2js_runtime_metrics/test/startup_metrics_test.dart

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ void main() {
2727
}
2828

2929
Expect.isTrue(metrics.containsKey('runtime'), "Has 'runtime' key: $metrics");
30-
Expect.equals(expectedRuntime, metrics['runtime'],
31-
"Expected 'runtime: $expectedRuntime': $metrics");
30+
Expect.equals(
31+
expectedRuntime,
32+
metrics['runtime'],
33+
"Expected 'runtime: $expectedRuntime': $metrics",
34+
);
3235

3336
if (expectedRuntime == 'dart2js') {
3437
Expect.isTrue(metrics.containsKey('callMainMs'));

0 commit comments

Comments
 (0)