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