Merge branch '2.0.x'

pull/13308/merge
Phillip Webb 7 years ago
commit 92b9b234f1

@ -24,6 +24,7 @@ import java.net.URL;
import org.junit.Before; import org.junit.Before;
import org.junit.Rule; import org.junit.Rule;
import org.junit.Test; import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.junit.rules.TemporaryFolder; import org.junit.rules.TemporaryFolder;
import org.springframework.boot.loader.TestJarCreator; import org.springframework.boot.loader.TestJarCreator;
@ -43,6 +44,9 @@ public class JarURLConnectionTests {
@Rule @Rule
public TemporaryFolder temporaryFolder = new TemporaryFolder(new File("target")); public TemporaryFolder temporaryFolder = new TemporaryFolder(new File("target"));
@Rule
public ExpectedException thrown = ExpectedException.none();
private File rootJarFile; private File rootJarFile;
private JarFile jarFile; private JarFile jarFile;

Loading…
Cancel
Save