Merge branch 'jm/status-ignored-files-list'
[gitweb.git] / t / t7102-reset.sh
index 86f23be34aa69a9a345f95554f8a32d6ac45af5d..95653a08cade25fb6edd7dcc479fb102d800f534 100755 (executable)
@@ -428,9 +428,9 @@ test_expect_success 'test --mixed <paths>' '
        git reset HEAD -- file1 file2 file3 &&
        test_must_fail git diff --quiet &&
        git diff > output &&
-       test_cmp output expect &&
+       test_cmp expect output &&
        git diff --cached > output &&
-       test_cmp output cached_expect
+       test_cmp cached_expect output
 '
 
 test_expect_success 'test resetting the index at give paths' '