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

Unified Diff: tests/corelib/queue_test.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 | « tests/co19/co19-runtime.status ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/queue_test.dart
diff --git a/tests/corelib/queue_test.dart b/tests/corelib/queue_test.dart
index c49f5179d8a31ec7ae0c9c2b9c3be19cafcc5d55..37fc7bd3486fd777a71657534c79ca1123153d6f 100644
--- a/tests/corelib/queue_test.dart
+++ b/tests/corelib/queue_test.dart
@@ -90,11 +90,11 @@ class QueueTest {
queue.addFirst(1);
queue.addFirst(2);
- Expect.equals(2, queue.first());
- Expect.equals(1, queue.last());
+ Expect.equals(2, queue.first);
+ Expect.equals(1, queue.last);
queue.addLast(3);
- Expect.equals(3, queue.last());
+ Expect.equals(3, queue.last);
bool isGreaterThanOne(int value) {
return (value > 1);
}
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/html/documentfragment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698