threads / patch / 12436

patch, 4 partst3903-stash.sh: Add missing '&&' to body of testcase

Subject: [PATCH 1/4] t3903-stash.sh: Add missing '&&' to body of testcase

## tl;dr

One message between Mar 2, 2008 and Mar 2, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

drafnel@gmail.com· Mar 2, 2008, 20:58 UTC · lore
Signed-off-by: Brandon Casey <drafnel@gmail.com>
---

It looks like this was just forgotten. I can't think of any reason why you'd not want the echos and git-add to be part of the whole return value of the test.

-brandon
 t/t3903-stash.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to t/t3903-stash.sh +1 −1
diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh
index 9a9a250..50a2c83 100755
--- a/t/t3903-stash.sh
+++ b/t/t3903-stash.sh
@@ -40,7 +40,7 @@ test_expect_success 'parents of stash' '
 test_expect_success 'apply needs clean working directory' '
 	echo 4 > other-file &&
 	git add other-file &&
-	echo 5 > other-file
+	echo 5 > other-file &&
 	! git stash apply
 '
 
-- 
1.5.4.3.412.gcd100

← back to recent threads