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

Unified Diff: samples/tests/samples/lib/observable/observable_list_tests.dart

Issue 11273041: Make first and last getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « samples/markdown/inline_parser.dart ('k') | samples/third_party/dromaeo/tests/dom-query-html.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/tests/samples/lib/observable/observable_list_tests.dart
diff --git a/samples/tests/samples/lib/observable/observable_list_tests.dart b/samples/tests/samples/lib/observable/observable_list_tests.dart
index dfae4da5742350d798172ae49454582bd1ccbb63..d8a9b6379655242f6a06f6f4f79e59d9eeae1fcc 100644
--- a/samples/tests/samples/lib/observable/observable_list_tests.dart
+++ b/samples/tests/samples/lib/observable/observable_list_tests.dart
@@ -36,7 +36,7 @@ testObservableList() {
expect(arr.indexOf(1, 1), equals(3));
// TODO(rnystrom): Get rid of second arg when lastIndexOf has default.
expect(arr.lastIndexOf(1, arr.length - 1), equals(3));
- expect(arr.last(), equals(4));
+ expect(arr.last, equals(4));
final copy = new List<int>();
arr.forEach(f(i) {
copy.add(i);
« no previous file with comments | « samples/markdown/inline_parser.dart ('k') | samples/third_party/dromaeo/tests/dom-query-html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698