comsmetic

This commit is contained in:
Jörg Prante 2022-10-21 21:07:26 +02:00
parent a8d46c86f7
commit da6f3145be

View file

@ -3,14 +3,11 @@ package org.xbib.net;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import java.net.SocketException; import java.net.SocketException;
import java.util.logging.Logger;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
class URLBuilderTest { class URLBuilderTest {
private static final Logger logger = Logger.getLogger(URLBuilderTest.class.getName());
@Test @Test
void testNoUrlParts() { void testNoUrlParts() {
assertUrl(URL.http().resolveFromHost("foo.com").toUrlString(), "http://foo.com"); assertUrl(URL.http().resolveFromHost("foo.com").toUrlString(), "http://foo.com");