Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: tests/lib/profiler/metrics_test.dart

Issue 436763002: Fix metrics_test analyzer failure (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/profiler/metrics_test.dart
diff --git a/tests/lib/profiler/metrics_test.dart b/tests/lib/profiler/metrics_test.dart
index 55e85b189cbfe589752e953ccabdca06b1f716b0..efc40247bbe6912df1b86465e3a283b458b4488b 100644
--- a/tests/lib/profiler/metrics_test.dart
+++ b/tests/lib/profiler/metrics_test.dart
@@ -33,32 +33,32 @@ testGauge2() {
Expect.throws(() {
// min > max.
- gauge = new Gauge.range('test', 'alpha bravo', 2.0, 1.0);
+ gauge = new Gauge('test', 'alpha bravo', 2.0, 1.0);
});
Expect.throws(() {
// min == max.
- gauge = new Gauge.range('test', 'alpha bravo', 1.0, 1.0);
+ gauge = new Gauge('test', 'alpha bravo', 1.0, 1.0);
});
Expect.throws(() {
// min is null
- gauge = new Gauge.range('test', 'alpha bravo', null, 1.0);
+ gauge = new Gauge('test', 'alpha bravo', null, 1.0);
});
Expect.throws(() {
// min is not a double
- gauge = new Gauge.range('test', 'alpha bravo', 'string', 1.0);
+ gauge = new Gauge('test', 'alpha bravo', 'string', 1.0);
});
Expect.throws(() {
// max is null
- gauge = new Gauge.range('test', 'alpha bravo', 1.0, null);
+ gauge = new Gauge('test', 'alpha bravo', 1.0, null);
});
Expect.throws(() {
// max is not a double
- gauge = new Gauge.range('test', 'alpha bravo', 1.0, 4);
+ gauge = new Gauge('test', 'alpha bravo', 1.0, 4);
});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698