From: James William Dumay Date: Thu, 13 Nov 2008 05:59:03 +0000 (+0000) Subject: MRM-996 - HttpProxyTransferTest fails on Windows. Thanks Martin Cooper X-Git-Tag: archiva-1.2~202 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ae5ec2bfeb7181dc893d86e09c98efdf562051ce;p=archiva.git MRM-996 - HttpProxyTransferTest fails on Windows. Thanks Martin Cooper git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@713648 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/HttpProxyTransferTest.java b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/HttpProxyTransferTest.java index 1c2aa9a20..fec61b130 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/HttpProxyTransferTest.java +++ b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/HttpProxyTransferTest.java @@ -112,8 +112,7 @@ public class HttpProxyTransferTest { response.setContentType( "text/plain" ); response.setStatus( HttpServletResponse.SC_OK ); - response.getWriter().println( "get-default-layout-1.0.jar" ); - response.getWriter().println(); + response.getWriter().print( "get-default-layout-1.0.jar\n\n" ); assertNotNull( request.getHeader( "Proxy-Connection" ) ); ( (Request) request ).setHandled( true );