From cbd3b3958d7595c4670ad8e5f1a79670864bb448 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Thu, 23 Feb 2006 03:20:23 +0000 Subject: [PATCH] ignore xml header altogether git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380033 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/repository/converter/RepositoryConverterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()