Skip to content

Commit

Permalink
Permit release candidates in version numbers.
Browse files Browse the repository at this point in the history
  • Loading branch information
squarejesse committed Nov 5, 2014
1 parent 0316426 commit a4a7958
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ public final class CallTest {

RecordedRequest recordedRequest = server.takeRequest();
assertTrue(recordedRequest.getHeader("User-Agent")
.matches("okhttp/\\d\\.\\d\\.\\d(-SNAPSHOT)?"));
.matches("okhttp/\\d\\.\\d\\.\\d(-SNAPSHOT|-RC\\d+)?"));
}

@Test public void setFollowRedirectsFalse() throws Exception {
Expand Down

0 comments on commit a4a7958

Please sign in to comment.