Thread (10 messages) 10 messages, 3 authors, 2018-03-28
STALE3006d
Revisions (6)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v2 current
  4. v3 [diff vs current]
  5. v4 [diff vs current]
  6. v5 [diff vs current]

[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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help