From bda08ad9e3968d7c7e8bd38d97f97ff5afc243f3 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Thu, 27 Oct 2016 17:10:34 +0200 Subject: [PATCH] Tests can throw any exception. --- .../eclipse/jetty/quickstart/AttributeNormalizerTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test-quickstart/src/test/java/org/eclipse/jetty/quickstart/AttributeNormalizerTest.java b/tests/test-quickstart/src/test/java/org/eclipse/jetty/quickstart/AttributeNormalizerTest.java index 26fc5385e46..f3bb70289c5 100644 --- a/tests/test-quickstart/src/test/java/org/eclipse/jetty/quickstart/AttributeNormalizerTest.java +++ b/tests/test-quickstart/src/test/java/org/eclipse/jetty/quickstart/AttributeNormalizerTest.java @@ -18,9 +18,6 @@ package org.eclipse.jetty.quickstart; -import static org.hamcrest.Matchers.is; -import static org.junit.Assert.assertThat; - import java.io.File; import java.net.MalformedURLException; import java.net.URI; @@ -29,6 +26,9 @@ import org.eclipse.jetty.toolchain.test.MavenTestingUtils; import org.eclipse.jetty.util.resource.Resource; import org.junit.Test; +import static org.hamcrest.Matchers.is; +import static org.junit.Assert.assertThat; + public class AttributeNormalizerTest { @Test @@ -82,7 +82,7 @@ public class AttributeNormalizerTest @Test - public void testNormalizeURIs() throws MalformedURLException + public void testNormalizeURIs() throws Exception { String testWar = EnvUtils.toSystemPath("/opt/jetty-distro/demo.base/webapps/FOO");