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

Unified Diff: tests/html/streams_test.dart

Issue 14071002: Added new version of reduce. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed more uses of max, and a few bugs. Created 7 years, 8 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/streams_test.dart
diff --git a/tests/html/streams_test.dart b/tests/html/streams_test.dart
index 3d3f16c46962b70a99daff17c268c8e1f21023fd..b0feb5e96bf6111e924861e34b67462430abb527 100644
--- a/tests/html/streams_test.dart
+++ b/tests/html/streams_test.dart
@@ -191,7 +191,7 @@ main() {
});
test('reduce', () {
- stream.reduce(null, (a, b) => null).then((_) {});
+ stream.reduce((a, b) => null).then((_) {});
});
test('fold', () {
@@ -214,14 +214,6 @@ main() {
stream.length.then((_) {});
});
- test('min', () {
- stream.min((a, b) => 0).then((_) {});
- });
-
- test('max', () {
- stream.max((a, b) => 0).then((_) {});
- });
-
test('isEmpty', () {
stream.isEmpty.then((_) {});
});

Powered by Google App Engine
This is Rietveld 408576698