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

Unified Diff: tests/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/html/canvas_pixel_array_type_alias_test.dart
diff --git a/tests/html/canvas_pixel_array_type_alias_test.dart b/tests/html/canvas_pixel_array_type_alias_test.dart
index 4dd6b407825f0e081bf0bc6b8e83e2283d71291e..ecf4d0660a362157d46691f7c023fbdcd155d085 100644
--- a/tests/html/canvas_pixel_array_type_alias_test.dart
+++ b/tests/html/canvas_pixel_array_type_alias_test.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file
library CanvasTest;
+
import 'package:unittest/unittest.dart';
import 'package:unittest/html_individual_config.dart';
import 'dart:html';
@@ -16,7 +17,6 @@ import 'dart:typed_data';
var inscrutable;
main() {
-
useHtmlIndividualConfiguration();
inscrutable = (x) => x;
@@ -31,8 +31,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:
@@ -76,7 +75,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