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); |
} |