Index: pkg/unittest/mock.dart |
diff --git a/pkg/unittest/mock.dart b/pkg/unittest/mock.dart |
index 6edb0c8238152bf599b5020101df00330ee30cc7..5e31f0300b6e59a9eef2e2f8e5f101d0dd22ebab 100644 |
--- a/pkg/unittest/mock.dart |
+++ b/pkg/unittest/mock.dart |
@@ -370,7 +370,7 @@ class LogEntryList { |
get first => (logs == null || logs.length == 0) ? null : logs[0]; |
/** Get the last entry, or null if no entries. */ |
- get last => (logs == null || logs.length == 0) ? null : logs.last(); |
+ get last => (logs == null || logs.length == 0) ? null : logs.last; |
/** Creates a LogEntry predicate function from the argument. */ |
Function _makePredicate(arg) { |