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

Unified Diff: tests/corelib_2/sort_helper.dart

Issue 2989993002: fix unsound cast failures in tests (Closed)
Patch Set: fix Created 3 years, 5 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 | « pkg/dev_compiler/test/browser/language_tests.js ('k') | tests/corelib_strong/iterable_empty_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib_2/sort_helper.dart
diff --git a/tests/corelib_2/sort_helper.dart b/tests/corelib_2/sort_helper.dart
index 945f6356a7321ec312253e56c8b63e9bec997ba6..6b8307bb7054e991be18168ced339f7ffec5bb1e 100644
--- a/tests/corelib_2/sort_helper.dart
+++ b/tests/corelib_2/sort_helper.dart
@@ -6,10 +6,8 @@ library sort_helper;
import "package:expect/expect.dart";
-typedef Sorter
- = void Function(List<num>);
-typedef Comparer
- = int Function(num, num);
+typedef Sorter = void Function(List<num>);
+typedef Comparer = int Function(num, num);
class SortHelper {
SortHelper(this.sortFunction, this.compareFunction) {}
« no previous file with comments | « pkg/dev_compiler/test/browser/language_tests.js ('k') | tests/corelib_strong/iterable_empty_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698