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

Unified Diff: tests/html/canvas_pixel_array_type_alias_test.dart

Issue 11184007: Support new named arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 b1ac2ad0d99113d49ab1a470f52a3ecc91dc7b37..8ef7565fcb168b8bdf20e46be953f96a8a023de0 100644
--- a/tests/html/canvas_pixel_array_type_alias_test.dart
+++ b/tests/html/canvas_pixel_array_type_alias_test.dart
@@ -31,7 +31,8 @@ main() {
Uint8ClampedArray 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:
- expect(confuseType(data) is Uint8ClampedArray, reason: 'canvas array type');
+ // OPTIONALS expect(confuseType(data) is Uint8ClampedArray, reason: 'canvas array type');
+ expect(confuseType(data) is Uint8ClampedArray, isTrue, 'canvas array type');
expect(data, hasLength(40000));
Emily Fortuna 2012/10/16 19:51:17 question: why does this test use the old style of
Anton Muhin 2012/10/17 09:13:38 Seems reasonable, but let address that in a separa
checkPixel(data, 0, [0, 0, 0, 0]);

Powered by Google App Engine
This is Rietveld 408576698