TestScheme at 100% coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@550081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e8ca9b1d65
commit
70e32c6503
|
@ -265,6 +265,8 @@ public class TestScheme extends TestCase {
|
|||
public void testToString() {
|
||||
Scheme http = new Scheme
|
||||
("http", PlainSocketFactory.getSocketFactory(), 80);
|
||||
// test it twice, the result is cached
|
||||
assertEquals("http:80", http.toString());
|
||||
assertEquals("http:80", http.toString());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue