[PATCH v2 2/6] stash: Add test for branch with no arguments
From: Joel Teichroeb <hidden>
Date: 2018-03-26 01:14:45
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Joel Teichroeb <hidden>
Date: 2018-03-26 01:14:45
Subsystem:
the rest · Maintainer:
Linus Torvalds
Signed-off-by: Joel Teichroeb <redacted> --- 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