mirror of
https://github.com/sharkdp/fd
synced 2024-10-06 07:49:18 +00:00
Add TODOs and FIXMEs about Windows
This commit is contained in:
parent
dc29ef70c4
commit
614f576c47
|
@ -36,6 +36,7 @@ impl<'a> Input<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME: On Windows, should return what for C:file.txt D:file.txt and \\server\share ?
|
||||
if index != 0 {
|
||||
self.data = &self.data[index + 1..]
|
||||
}
|
||||
|
@ -78,6 +79,7 @@ impl<'a> Input<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME: On Windows, return what for C:file.txt D:file.txt and \\server\share ?
|
||||
self.data = if !has_dir {
|
||||
"."
|
||||
} else if index == 0 {
|
||||
|
|
|
@ -603,6 +603,7 @@ fn test_exec() {
|
|||
|
||||
let abs_path = get_absolute_root_path(&te);
|
||||
|
||||
// TODO Windows tests: D:file.txt \file.txt \\server\share\file.txt ...
|
||||
if !cfg!(windows) {
|
||||
te.assert_output(
|
||||
&["--absolute-path", "foo", "--exec", "echo"],
|
||||
|
|
Loading…
Reference in a new issue