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

Unified Diff: test/mime_type_test.dart

Issue 2561953002: Make package mime strong clean (Closed)
Patch Set: Created 4 years 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: test/mime_type_test.dart
diff --git a/test/mime_type_test.dart b/test/mime_type_test.dart
index 0ac32f5860852dfe5c7aa3d59c65325f5cae93b1..87de96df35070f1e4e80935c654bf1999038cdc1 100644
--- a/test/mime_type_test.dart
+++ b/test/mime_type_test.dart
@@ -93,7 +93,7 @@ void main() {
});
test('default magic number', () {
- var actualMaxBytes = DEFAULT_MAGIC_NUMBERS.fold(0, (previous, magic) {
+ var actualMaxBytes = DEFAULT_MAGIC_NUMBERS.fold(0, (num previous, magic) {
kevmoo 2016/12/09 02:30:26 should be int, right?
keertip 2016/12/09 02:43:40 changed according to errror msg "Couldn't infer ty
return math.max(previous, magic.numbers.length);
});
« test/mime_multipart_transformer_test.dart ('K') | « test/mime_multipart_transformer_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698