]> source.dussan.org Git - archiva.git/commitdiff
ignore xml header altogether
authorBrett Porter <brett@apache.org>
Thu, 23 Feb 2006 03:20:23 +0000 (03:20 +0000)
committerBrett Porter <brett@apache.org>
Thu, 23 Feb 2006 03:20:23 +0000 (03:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380033 13f79535-47bb-0310-9956-ffa450edef68

maven-repository-converter/src/test/java/org/apache/maven/repository/converter/RepositoryConverterTest.java

index b2a0512aca3026dca827cdd2254dc0db491bf618..f1574a814cf09a20c785fe59f6afeba09c6a339d 100644 (file)
@@ -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()