diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-03-25 18:14:22 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-02 00:55:00 (GMT) |
commit | c4932b00f4da864f8b61881b75ca18826f461650 (patch) | |
tree | 91862efa854c7544ebbe3d896b8bb001848ae989 /t/t7525-status-rename.sh | |
parent | f6188dccb7795ba7c374274264b70e5a4a2a2f5f (diff) | |
download | git-c4932b00f4da864f8b61881b75ca18826f461650.zip git-c4932b00f4da864f8b61881b75ca18826f461650.tar.gz git-c4932b00f4da864f8b61881b75ca18826f461650.tar.bz2 |
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>
Diffstat (limited to 't/t7525-status-rename.sh')
-rwxr-xr-x | t/t7525-status-rename.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t7525-status-rename.sh b/t/t7525-status-rename.sh index ef8b1b3..a62736d 100755 --- a/t/t7525-status-rename.sh +++ b/t/t7525-status-rename.sh @@ -84,7 +84,7 @@ test_expect_success 'status score=100%' ' test_i18ngrep "deleted:" actual && test_i18ngrep "new file:" actual && - git status --find-rename=100% >actual && + git status --find-renames=100% >actual && test_i18ngrep "deleted:" actual && test_i18ngrep "new file:" actual ' @@ -93,11 +93,11 @@ test_expect_success 'status score=01%' ' git status -M=01% >actual && test_i18ngrep "renamed:" actual && - git status --find-rename=01% >actual && + git status --find-renames=01% >actual && test_i18ngrep "renamed:" actual ' -test_expect_success 'copies not overridden by find-rename' ' +test_expect_success 'copies not overridden by find-renames' ' cp renamed copy && git add copy && @@ -105,7 +105,7 @@ test_expect_success 'copies not overridden by find-rename' ' test_i18ngrep "copied:" actual && test_i18ngrep "renamed:" actual && - git -c status.renames=copies status --find-rename=01% >actual && + git -c status.renames=copies status --find-renames=01% >actual && test_i18ngrep "copied:" actual && test_i18ngrep "renamed:" actual ' |