mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-08 19:15:16 +00:00
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 void testEquals() {
|
||||
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…
x
Reference in New Issue
Block a user