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

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

Issue 431253002: Fix nits on metrics_test (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 | « tests/lib/profiler/metrics_num_test.dart ('k') | 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 691ea40e7e05ac66d09a2ab5f2e60a711f41644a..69be4460ad3ee3acb40d8120ec602ec81d6cfd21 100644
--- a/tests/lib/profiler/metrics_test.dart
+++ b/tests/lib/profiler/metrics_test.dart
@@ -32,27 +32,27 @@ testGauge2() {
Expect.equals('alpha bravo', gauge.description);
Expect.throws(() {
- // min > max.
+ // min argument > max argument .
gauge = new Gauge('test', 'alpha bravo', 2.0, 1.0);
});
Expect.throws(() {
- // min == max.
+ // min argument == max argument .
gauge = new Gauge('test', 'alpha bravo', 1.0, 1.0);
});
Expect.throws(() {
- // min is null
+ // min argument is null
gauge = new Gauge('test', 'alpha bravo', null, 1.0);
});
Expect.throws(() {
- // min is not a double
+ // min argument is not a double
gauge = new Gauge('test', 'alpha bravo', 'string', 1.0);
});
Expect.throws(() {
- // max is null
+ // max argument is null
gauge = new Gauge('test', 'alpha bravo', 1.0, null);
});
}
« no previous file with comments | « tests/lib/profiler/metrics_num_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698