Index: tests/corelib/list_last_test.dart |
diff --git a/tests/corelib/list_last_test.dart b/tests/corelib/list_last_test.dart |
index 4d9b53a9adabfee786c4d21fb21bfa423293b116..07333356b2ebcac84eff23085702c663971a6023 100644 |
--- a/tests/corelib/list_last_test.dart |
+++ b/tests/corelib/list_last_test.dart |
@@ -2,6 +2,8 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+import "package:expect/expect.dart"; |
+ |
void test(List list) { |
if (list.isEmpty) { |
Expect.throws(() => list.last, (e) => e is StateError); |