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); |