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

Unified Diff: test/pool_test.dart

Issue 1843303002: Fix strong mode warnings. (Closed) Base URL: git@github.com:dart-lang/pool@master
Patch Set: Created 4 years, 9 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 | « pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/pool_test.dart
diff --git a/test/pool_test.dart b/test/pool_test.dart
index 65fd00ee25f0ed9a498681d61077198f2d67283f..91e6833105fb56ea681ad42e2826f97f5dfd029b 100644
--- a/test/pool_test.dart
+++ b/test/pool_test.dart
@@ -276,7 +276,7 @@ void main() {
test("disallows request() and withResource()", () {
var pool = new Pool(1)..close();
expect(pool.request, throwsStateError);
- expect(() => pool.withResource(() {}), throwsStateError);
+ expect(pool.withResource(() {}), throwsStateError);
});
test("pending requests are fulfilled", () async {
« no previous file with comments | « pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698