Skip to content

Commit

Permalink
Fix the test for "m2_repo" on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikurube committed Jun 3, 2024
1 parent 74f23d4 commit e39f24d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.SimpleFileVisitor;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.Properties;
Expand Down Expand Up @@ -54,6 +55,6 @@ public FileVisitResult visitFile(final Path file, final BasicFileAttributes attr
}
assertEquals(2, properties.size());
assertEquals("value", properties.getProperty("key"));
assertEquals("lib/m2/repository", properties.getProperty("m2_repo"));
assertEquals(Paths.get("lib").resolve("m2").resolve("repository").toString(), properties.getProperty("m2_repo"));
}
}

0 comments on commit e39f24d

Please sign in to comment.