X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3301-notes.sh;h=2d67a40fc16385b8bee37968f4058b094a174a98;hb=fcd91f8de20bf7969599a7a60cba73117d99f2d1;hp=64f32ad94dfe842746774596b88c91e873da864f;hpb=e1ba0f6340c1d72677c7792a0a82ecf05363026e;p=git.git diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh index 64f32ad94..2d67a40fc 100755 --- a/t/t3301-notes.sh +++ b/t/t3301-notes.sh @@ -1044,4 +1044,10 @@ test_expect_success 'GIT_NOTES_REWRITE_REF overrides config' ' git log -1 > output && test_cmp expect output ' + +test_expect_success 'git notes copy diagnoses too many or too few parameters' ' + test_must_fail git notes copy && + test_must_fail git notes copy one two three +' + test_done