tests (status): spell out the `--find-renames` option in full
To avoid future ambiguities, we really want to use full option names in the test suite. `t7525-status-rename.sh` used an abbreviated form of the `--find-renames` option, though, so let's change that. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Mar 25, 2019 at 11:14 UTC
c4932b00f4da864f8b61881b75ca18826f461650
1 file changed
+4
-4
t/t7525-status-rename.sh
+4
-4
@@ -84,7 +84,7 @@ test_expect_success 'status score=100%' '
84
test_i18ngrep "deleted:" actual &&
85
test_i18ngrep "new file:" actual &&
86
87
- git status --find-rename=100% >actual &&
87
+ git status --find-renames=100% >actual &&
88
test_i18ngrep "deleted:" actual &&
89
test_i18ngrep "new file:" actual
90
'
@@ -93,11 +93,11 @@ test_expect_success 'status score=01%' '
93
git status -M=01% >actual &&
94
test_i18ngrep "renamed:" actual &&
95
96
- git status --find-rename=01% >actual &&
96
+ git status --find-renames=01% >actual &&
97
test_i18ngrep "renamed:" actual
98
'
99
100
-test_expect_success 'copies not overridden by find-rename' '
100
+test_expect_success 'copies not overridden by find-renames' '
101
cp renamed copy &&
102
git add copy &&
103
@@ -105,7 +105,7 @@ test_expect_success 'copies not overridden by find-rename' '
105
test_i18ngrep "copied:" actual &&
106
test_i18ngrep "renamed:" actual &&
107
108
- git -c status.renames=copies status --find-rename=01% >actual &&
108
+ git -c status.renames=copies status --find-renames=01% >actual &&
109
test_i18ngrep "copied:" actual &&
110
test_i18ngrep "renamed:" actual
111
'