mirror of
https://github.com/sharkdp/fd.git
synced 2024-09-29 13:31:30 +02:00
Fixing rustfmt and another go at fixing echo for AppVeyor
This commit is contained in:
parent
3a7fe6e140
commit
3c0e254156
@ -537,10 +537,13 @@ fn test_exec() {
|
||||
let te = TestEnv::new();
|
||||
|
||||
// Test a simple echo before result
|
||||
te.assert_output(&["--exec", "echo found", "d.foo"], "found one/two/three/d.foo");
|
||||
te.assert_output(
|
||||
&["--exec", "echo found {}", "d.foo"],
|
||||
"found one/two/three/d.foo",
|
||||
);
|
||||
|
||||
#[cfg(windows)]
|
||||
// Test executing 'fc' (File Compare) with the found result and itself.
|
||||
#[cfg(windows)]
|
||||
te.assert_output(
|
||||
&["--exec", "fc {} {}", "a.foo"],
|
||||
"
|
||||
@ -548,7 +551,6 @@ fn test_exec() {
|
||||
FC: no differences encountered",
|
||||
);
|
||||
|
||||
#[cfg(unix)]
|
||||
// Test executing 'diff' with the found result and itself.
|
||||
te.assert_output(&["--exec", "diff {} {}", "a.foo"],"");
|
||||
#[cfg(unix)] te.assert_output(&["--exec", "diff {} {}", "a.foo"],"");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user