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

Unified Diff: tests/lib_strong/html/canvas_pixel_array_type_alias_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/lib_strong/html/canvas_pixel_array_type_alias_test.dart
diff --git a/tests/lib_strong/html/canvas_pixel_array_type_alias_test.dart b/tests/lib_strong/html/canvas_pixel_array_type_alias_test.dart
index 1bb2006c9ef6fec9caabd01377fb617e55709252..f77e9b0abf654238a482441bcf2c19be72367d1f 100644
--- a/tests/lib_strong/html/canvas_pixel_array_type_alias_test.dart
+++ b/tests/lib_strong/html/canvas_pixel_array_type_alias_test.dart
@@ -27,8 +27,7 @@ main() {
group('basic', () {
test('CreateImageData', () {
- ImageData image = context.createImageData(canvas.width,
- canvas.height);
+ ImageData image = context.createImageData(canvas.width, canvas.height);
List<int> data = image.data;
// It is legal for the dart2js compiler to believe the type of the native
// ImageData.data and elides the check, so check the type explicitly:
@@ -72,7 +71,7 @@ main() {
// Static and dynamic values consistent? Type inference should be able to
// constant-fold 'data is Uint8ClampedList' to 'true'.
expect(inscrutable(data) is Uint8ClampedList == data is Uint8ClampedList,
- isTrue);
+ isTrue);
});
// TODO(sra): Why does this fail on Dartium? There are two types with the

Powered by Google App Engine
This is Rietveld 408576698