From: Brett Porter Date: Thu, 23 Feb 2006 03:20:23 +0000 (+0000) Subject: ignore xml header altogether X-Git-Tag: archiva-0.9-alpha-1~914 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cbd3b3958d7595c4670ad8e5f1a79670864bb448;p=archiva.git ignore xml header altogether git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380033 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/maven-repository-converter/src/test/java/org/apache/maven/repository/converter/RepositoryConverterTest.java b/maven-repository-converter/src/test/java/org/apache/maven/repository/converter/RepositoryConverterTest.java index b2a0512ac..f1574a814 100644 --- a/maven-repository-converter/src/test/java/org/apache/maven/repository/converter/RepositoryConverterTest.java +++ b/maven-repository-converter/src/test/java/org/apache/maven/repository/converter/RepositoryConverterTest.java @@ -880,7 +880,7 @@ public class RepositoryConverterTest private static String normalizeString( String path ) { - return path.trim().replaceAll( "\r\n", "\n" ).replace( '\r', '\n' ); + return path.trim().replaceAll( "\r\n", "\n" ).replace( '\r', '\n' ).replaceAll( "<\\?xml .+\\?>", "" ); } private void checkSuccess()