Add TODOs and FIXMEs about Windows

This commit is contained in:
J.W 2017-10-26 15:18:06 +08:00 committed by David Peter
parent dc29ef70c4
commit 614f576c47
2 changed files with 3 additions and 0 deletions

View File

@ -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 {

View File

@ -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"],