void () { assertTrue(RemoteFile.isWindowsPath("ssh://user@server:8080C:\\Windows")); assertTrue(RemoteFile.isWindowsPath("ssh://user@server:8080X:")); assertFalse(RemoteFile.isWindowsPath("ssh://user@server:8080/home/user")); assertFalse(RemoteFile.isWindowsPath("ssh://a\\b@server:8080/home/user")); assertFalse(RemoteFile.isWindowsPath("ssh://a\\b@server:8080/home/\\")); }