We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 979487a commit 7204f93Copy full SHA for 7204f93
api/src/test/java/com/ning/http/client/async/Relative302Test.java
@@ -103,7 +103,7 @@ public void redirected302Test() throws Throwable {
103
assertNotNull(response);
104
assertEquals(response.getStatusCode(), 200);
105
106
- String anyGoogleSubdomain = "http://www.google.[a-z]{1,}:80";
+ String anyGoogleSubdomain = "http://www\\.google\\.[a-z]+(\\.[a-z]+)*:80";
107
String baseUrl = getBaseUrl( response.getUri() );
108
109
assertTrue(baseUrl.matches( anyGoogleSubdomain ), "response does not show redirection to " + anyGoogleSubdomain);
0 commit comments