mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-17 09:28:25 +01:00
Another attempt to fix AppVeyor error
`find` is not a built-in windows tool, so using `fc` for file compare exec test.
This commit is contained in:
parent
f4f00820ac
commit
d3831eecf3
1 changed files with 5 additions and 3 deletions
|
@ -547,9 +547,11 @@ fn test_exec() {
|
|||
found one/two/three/directory_foo",
|
||||
);
|
||||
|
||||
// Test executing 'diff' with the found result and itself. No expected output.
|
||||
// Test executing 'fc' (File Compare) with the found result and itself.
|
||||
te.assert_output(
|
||||
&["--exec", "diff \'{}\' \'{}\'", "a.foo"],
|
||||
"",
|
||||
&["--exec", "fc {} {}", "a.foo"],
|
||||
"
|
||||
Comparing files a.foo and A.FOO
|
||||
FC: no differences encountered"
|
||||
);
|
||||
}
|
Loading…
Reference in a new issue