void () { checkParse("", null); checkParse("/mnt/c/usr/bin", null); checkParse("C:\\Users\\user", null); checkParse(prefix.substring(0, prefix.length() - 1), null); checkParse(prefix, null); checkParse(prefix + "Ubuntu", null); checkParse(prefix + "\\etc", null); checkParse(prefix + "Ubuntu\\", new WslPath(prefix, "Ubuntu", "/")); checkParse(prefix + "Ubuntu\\etc", new WslPath(prefix, "Ubuntu", "/etc")); checkParse(prefix + "Ubuntu\\etc\\hosts", new WslPath(prefix, "Ubuntu", "/etc/hosts")); checkParse(prefix.replace('\\', '/') + "Ubuntu/etc", new WslPath(prefix, "Ubuntu", "/etc")); checkParse(prefix.replace('\\', '/') + "Ubuntu/etc/hosts", new WslPath(prefix, "Ubuntu", "/etc/hosts")); }