Skip to content
Myr

Add TODOs and FIXMEs about Windows

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by J.W · committed by David Peter · parent dc29ef7 · Browse files · 2 files+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−0 removed

  • tests:+1 added−0 removed
  • other:+2 added−0 removed

2 files+3 added−0 removed

modified:src/exec/input.rs+2 added
34 unmodified lines
35 index = id;36 }37 }3839 // FIXME: On Windows, should return what for C:file.txt D:file.txt and \\server\share ?40 if index != 0 {41 self.data = &self.data[index + 1..]42 }43
34 unmodified lines
78 index = id;79 }80 }8182 // FIXME: On Windows, return what for C:file.txt D:file.txt and \\server\share ?83 self.data = if !has_dir {84 "."85 } else if index == 0 {86 &self.data[..1]
148 unmodified lines
modified:tests/tests.rs+1 added
601 unmodified lines
602 let te = TestEnv::new();603604 let abs_path = get_absolute_root_path(&te);605606 // TODO Windows tests: D:file.txt \file.txt \\server\share\file.txt ...607 if !cfg!(windows) {608 te.assert_output(609 &["--absolute-path", "foo", "--exec", "echo"],610 &format!(
63 unmodified lines