summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-03-06 14:53:06 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-03-06 14:53:06 -0800
commit4b4ec3fc6480312515e1ec3d827c1308c00adc1e (patch)
tree1706a0bb7bc9cd330ba65e446bd4272679d94342 /t
parentMerge branch 'sl/modern-t0000' (diff)
parentMake git-{pull,rebase} message without tracking information friendlier (diff)
downloadtgif-4b4ec3fc6480312515e1ec3d827c1308c00adc1e.tar.xz
Merge branch 'cn/pull-rebase-message'
By Carlos Martín Nieto * cn/pull-rebase-message: Make git-{pull,rebase} message without tracking information friendlier
Diffstat (limited to 't')
-rwxr-xr-xt/t3400-rebase.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/t/t3400-rebase.sh b/t/t3400-rebase.sh
index e647272a01..7788ae02ad 100755
--- a/t/t3400-rebase.sh
+++ b/t/t3400-rebase.sh
@@ -160,14 +160,12 @@ rm -f B
test_expect_success 'fail when upstream arg is missing and not on branch' '
git checkout topic &&
- test_must_fail git rebase >output.out &&
- grep "You are not currently on a branch" output.out
+ test_must_fail git rebase
'
test_expect_success 'fail when upstream arg is missing and not configured' '
git checkout -b no-config topic &&
- test_must_fail git rebase >output.out &&
- grep "branch.no-config.merge" output.out
+ test_must_fail git rebase
'
test_expect_success 'default to @{upstream} when upstream arg is missing' '