From d3831eecf3499079a98190c25fb8fbe0be5be437 Mon Sep 17 00:00:00 2001 From: David Tibbetts Date: Thu, 19 Oct 2017 20:22:02 -0500 Subject: [PATCH] Another attempt to fix AppVeyor error `find` is not a built-in windows tool, so using `fc` for file compare exec test. --- tests/tests.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/tests.rs b/tests/tests.rs index 67a7c92..1b89444 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -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" ); } \ No newline at end of file