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

Unified Diff: tests/standalone/io/https_client_certificate_test.dart

Issue 11801008: Fix tests for VM in checked mode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add missing expectAsync1 Created 7 years, 11 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
Index: tests/standalone/io/https_client_certificate_test.dart
diff --git a/tests/standalone/io/https_client_certificate_test.dart b/tests/standalone/io/https_client_certificate_test.dart
index 029c8fd2f38d86e1f3dc7c011b152f64253ea14f..bfa372fc00b3c0d472457487932004552e4bbfc5 100644
--- a/tests/standalone/io/https_client_certificate_test.dart
+++ b/tests/standalone/io/https_client_certificate_test.dart
@@ -89,7 +89,7 @@ void main() {
InitializeSSL();
// Test two connections in sequence.
test({'certificateName': null})()
- .then(test({'certificateName': 'localhost_cert'}))
+ .then((_) => test({'certificateName': 'localhost_cert'})())
.then((_) {
Expect.equals(2, numClientCertificatesReceived);
keepAlive.close();
« no previous file with comments | « runtime/tests/vm/dart/isolate_unhandled_exception_uri_test.dart ('k') | tests/standalone/io/test_extension_fail_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698