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:
Roland Weber 2007-06-23 18:35:09 +00:00
parent e8ca9b1d65
commit 70e32c6503
1 changed files with 2 additions and 0 deletions

View File

@ -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());
}