| Index: tests/standalone/io/secure_bad_certificate_test.dart
|
| diff --git a/tests/standalone/io/secure_bad_certificate_test.dart b/tests/standalone/io/secure_bad_certificate_test.dart
|
| index 610bcdb48bfaa78e2ed7df91186889c936bbe132..7b2828479d39a18a265651f118f6ef9c46df5bfc 100644
|
| --- a/tests/standalone/io/secure_bad_certificate_test.dart
|
| +++ b/tests/standalone/io/secure_bad_certificate_test.dart
|
| @@ -55,8 +55,8 @@ Future runClient(int port,
|
| callbackReturns,
|
| result) async {
|
| badCertificateCallback(X509Certificate certificate) {
|
| - Expect.equals('/CN=rootauthority', certificate.subject);
|
| - Expect.equals('/CN=rootauthority', certificate.issuer);
|
| + Expect.isTrue(certificate.subject.contains('rootauthority'));
|
| + Expect.isTrue(certificate.issuer.contains('rootauthority'));
|
| // Throw exception if one is requested.
|
| if (callbackReturns == 'exception') throw new CustomException();
|
| return callbackReturns;
|
|
|