From: Joel Teichroeb Date: Mon, 26 Mar 2018 01:14:22 GMT Subject: [PATCH v2 2/6] stash: Add test for branch with no arguments Message-ID: <20180326011426.19159-3-joel@teichroeb.net> In-Reply-To: <20180326011426.19159-1-joel@teichroeb.net> Signed-off-by: Joel Teichroeb --- t/t3903-stash.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh index 7146e27bb5..261571d02a 100755 --- a/t/t3903-stash.sh +++ b/t/t3903-stash.sh @@ -497,6 +497,10 @@ test_expect_success 'stash branch complains with too many refs' ' test_must_fail git stash branch stash-branch stash@{1} stash@{2} ' +test_expect_success 'stash branch complains with no arguments' ' + test_must_fail git stash branch +' + test_expect_success 'stash show format defaults to --stat' ' git stash clear && test_when_finished "git reset --hard HEAD" && -- 2.16.2