Skip to content

Commit c4932b0

Browse files
dschogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f6188dc commit c4932b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t7525-status-rename.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ test_expect_success 'status score=100%' '
8484
test_i18ngrep "deleted:" actual &&
8585
test_i18ngrep "new file:" actual &&
8686
87-
git status --find-rename=100% >actual &&
87+
git status --find-renames=100% >actual &&
8888
test_i18ngrep "deleted:" actual &&
8989
test_i18ngrep "new file:" actual
9090
'
@@ -93,19 +93,19 @@ test_expect_success 'status score=01%' '
9393
git status -M=01% >actual &&
9494
test_i18ngrep "renamed:" actual &&
9595
96-
git status --find-rename=01% >actual &&
96+
git status --find-renames=01% >actual &&
9797
test_i18ngrep "renamed:" actual
9898
'
9999

100-
test_expect_success 'copies not overridden by find-rename' '
100+
test_expect_success 'copies not overridden by find-renames' '
101101
cp renamed copy &&
102102
git add copy &&
103103
104104
git -c status.renames=copies status -M=01% >actual &&
105105
test_i18ngrep "copied:" actual &&
106106
test_i18ngrep "renamed:" actual &&
107107
108-
git -c status.renames=copies status --find-rename=01% >actual &&
108+
git -c status.renames=copies status --find-renames=01% >actual &&
109109
test_i18ngrep "copied:" actual &&
110110
test_i18ngrep "renamed:" actual
111111
'

0 commit comments

Comments
 (0)