fix(test): Removed broken test because TildeInPathResolver no longer decides to resolve tilde's based on operating system.
@@ -24,19 +24,6 @@ public class TildeInPathResolverTest {
Assertions.assertEquals("/Users/ekerwin/Documents/source/funtional/detect", resolved.toString(), "Tilde's should be resolved on Unix operating systems.");
}
- @Test
- @DisabledOnOs(WINDOWS) // Due to backslashes being flipped.
- public void testResolvingTildeInWindows() {
- Assume.assumeFalse(SystemUtils.IS_OS_WINDOWS);
-
- final TildeInPathResolver resolver = new TildeInPathResolver("/Users/ekerwin");
- final String filePath = "~/Documents/source/funtional/detect";
- final Path resolved = resolver.resolvePath(filePath);
-
- Assertions.assertNotNull(resolved, "Resolved path should not be null.");
- Assertions.assertEquals(filePath, resolved.toString(), "Tilde resolution should not occur on Windows.");
- }
-
@Test
@DisabledOnOs(WINDOWS) // Due to backslashes being flipped.
public void testResolvingTildeInTheMiddleOfAPath() {
