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

Unified Diff: pkg/http_server/test/virtual_directory_test.dart

Issue 217143002: pkg/http_server: fixes for unittest deprecations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « pkg/http_server/pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/http_server/test/virtual_directory_test.dart
diff --git a/pkg/http_server/test/virtual_directory_test.dart b/pkg/http_server/test/virtual_directory_test.dart
index 7be2a1251d1045e12736d512749609a16b7fe5c5..c04ec3414522e10bbc534d865dc28ea4015a3124 100644
--- a/pkg/http_server/test/virtual_directory_test.dart
+++ b/pkg/http_server/test/virtual_directory_test.dart
@@ -193,9 +193,9 @@ void main() {
var virDir = new VirtualDirectory(dir.path);
virDir.allowDirectoryListing = true;
- virDir.directoryHandler = protectAsync2((dir2, request) {
+ virDir.directoryHandler = (dir2, request) {
fail('not expected');
- });
+ };
return getStatusCodeForVirtDir(virDir, '/dir', followRedirects: false)
.then((result) {
« no previous file with comments | « pkg/http_server/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698