Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Make test independent of client on Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/svn/trunk@771714 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
bodewig committed May 5, 2009
1 parent eee0767 commit 2d21696dd582812081bc0e79439047d1b7b72bff
Showing 1 changed file with 2 additions and 1 deletion.
@@ -55,7 +55,8 @@ public void testRevisionAttribute() {
// on the version of the command line client
executeTarget("revision-attribute");
String log = getLog();
int buildFileIndex = log.indexOf("trunk/build.xml");
int buildFileIndex = Math.max(log.indexOf("trunk/build.xml"),
log.indexOf("trunk\\build.xml"));
assertTrue("expected message about build.xml, log was: " + log,
buildFileIndex > -1);
for (int i = buildFileIndex - 1; i > -1; --i) {

0 comments on commit 2d21696

Please sign in to comment.