Skip to content

Commit

Permalink
fix: CI failed on windows-latest cause of difference of path separator
Browse files Browse the repository at this point in the history
  • Loading branch information
tamada committed Dec 14, 2021
1 parent 4798c7f commit 7232bb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class VersionUpdaterTest {
@Test
public void testBasic() {
List<String> results = execute(new String[]{ "src/sample/classes/java7", "--to", "Java11", "-d", "test1" });
Assertions.assertEquals("src/sample/classes/java7 -> test1", results.get(0));
Assertions.assertEquals(String.format("%s -> test1", Path.of("src/sample/classes/java7")), results.get(0));
Assertions.assertEquals("\t51.0 (Java 7) -> 55.0 (Java 11)", results.get(1));

removeDir(Path.of("test1"));
Expand Down

0 comments on commit 7232bb3

Please sign in to comment.