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

Unified Diff: test/codegen/lib/typed_data/typed_data_sublist_type_test.dart

Issue 1847163002: Regen against latest analyzer (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 9 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 | « test/codegen/expect/lib-typed_data-all.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/lib/typed_data/typed_data_sublist_type_test.dart
diff --git a/test/codegen/lib/typed_data/typed_data_sublist_type_test.dart b/test/codegen/lib/typed_data/typed_data_sublist_type_test.dart
index 2873693e1d981c216ba9f4ff25eb43e2b44ccde5..f5f0b1acc189cc9ab418bdf196f0cd64061ea37e 100644
--- a/test/codegen/lib/typed_data/typed_data_sublist_type_test.dart
+++ b/test/codegen/lib/typed_data/typed_data_sublist_type_test.dart
@@ -60,17 +60,17 @@ void testTypes() {
var isDoubleList = new Is<List<double>>('List<double>');
var isNumList = new Is<List<num>>('List<num>');
- var allChecks = [isFloat32list, isFloat64list,
+ var allChecks = <Is<List>>[isFloat32list, isFloat64list,
isInt8List, isInt16List, isInt32List,
isUint8List, isUint16List, isUint32List,
isUint8ClampedList];
testInt(list, check) {
- testSublistType(list, [check, isIntList, isNumList], allChecks);
+ testSublistType(list, <Is<List>>[check, isIntList, isNumList], allChecks);
}
testDouble(list, check) {
- testSublistType(list, [check, isDoubleList, isNumList], allChecks);
+ testSublistType(list, <Is<List>>[check, isDoubleList, isNumList], allChecks);
}
testDouble(new Float32List(10), isFloat32list);
« no previous file with comments | « test/codegen/expect/lib-typed_data-all.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698