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:
David Tibbetts 2017-10-19 20:22:02 -05:00
parent f4f00820ac
commit d3831eecf3

View file

@ -547,9 +547,11 @@ fn test_exec() {
found one/two/three/directory_foo", 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( te.assert_output(
&["--exec", "diff \'{}\' \'{}\'", "a.foo"], &["--exec", "fc {} {}", "a.foo"],
"", "
Comparing files a.foo and A.FOO
FC: no differences encountered"
); );
} }