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 ae78988 commit c541ad0Copy full SHA for c541ad0
src/test/java/com/ning/http/client/async/Relative302Test.java
@@ -97,7 +97,7 @@ public void redirected302Test() throws Throwable {
97
assertNotNull(response);
98
assertEquals(response.getStatusCode(), 200);
99
100
- String anyGoogleSubdomain = "http://www.google.[a-z]{1,}:80";
+ String anyGoogleSubdomain = "http://www\\.google\\.[a-z]+(\\.[a-z]+)*:80";
101
String baseUrl = getBaseUrl(response.getUri());
102
103
assertTrue(baseUrl.matches(anyGoogleSubdomain), "response does not show redirection to " + anyGoogleSubdomain);
0 commit comments