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

Unified Diff: tests/compiler/dart2js/sourcemaps/colors.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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
Index: tests/compiler/dart2js/sourcemaps/colors.dart
diff --git a/tests/compiler/dart2js/sourcemaps/colors.dart b/tests/compiler/dart2js/sourcemaps/colors.dart
index b6fa6b4c60c0eeea30eed3268e9128bb05315ac7..459538269e48f2ca5f1925e9f0b913c8ba248d38 100644
--- a/tests/compiler/dart2js/sourcemaps/colors.dart
+++ b/tests/compiler/dart2js/sourcemaps/colors.dart
@@ -72,7 +72,6 @@ class RGBA extends RGB {
return sb.toString();
}
-
}
/// A web color defined as HSV.
@@ -95,12 +94,12 @@ class HSV implements Color {
// Grey.
return new RGB(v, v, v);
}
- h /= 60.0; // Sector 0 to 5.
+ h /= 60.0; // Sector 0 to 5.
int i = h.floor();
double f = h - i; // Factorial part of [h].
double p = v * (1.0 - s);
double q = v * (1.0 - s * f);
- double t = v * (1.0 - s * (1.0 - f ));
+ double t = v * (1.0 - s * (1.0 - f));
switch (i) {
case 0:
return new RGB(v, t, p);
@@ -112,7 +111,7 @@ class HSV implements Color {
return new RGB(p, q, v);
case 4:
return new RGB(t, p, v);
- default: // case 5:
+ default: // case 5:
return new RGB(v, p, q);
}
}
« no previous file with comments | « tests/compiler/dart2js/source_mapping_test.dart ('k') | tests/compiler/dart2js/sourcemaps/data/invokes_test_file.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698