@@ -435,7 +435,7 @@ test_expect_success 'stash drop - fail early if specified stash is not a stash r
435
435
git stash &&
436
436
echo bar > file &&
437
437
git stash &&
438
- test_must_fail " git stash drop $(git rev-parse stash@{0})" &&
438
+ test_must_fail git stash drop $(git rev-parse stash@{0}) &&
439
439
git stash pop &&
440
440
test bar = "$(cat file)" &&
441
441
git reset --hard HEAD
@@ -449,7 +449,7 @@ test_expect_success 'stash pop - fail early if specified stash is not a stash re
449
449
git stash &&
450
450
echo bar > file &&
451
451
git stash &&
452
- test_must_fail " git stash pop $(git rev-parse stash@{0})" &&
452
+ test_must_fail git stash pop $(git rev-parse stash@{0}) &&
453
453
git stash pop &&
454
454
test bar = "$(cat file)" &&
455
455
git reset --hard HEAD
@@ -462,31 +462,31 @@ test_expect_success 'ref with non-existant reflog' '
462
462
git add file2 &&
463
463
git stash &&
464
464
! "git rev-parse --quiet --verify does-not-exist" &&
465
- test_must_fail " git stash drop does-not-exist" &&
466
- test_must_fail " git stash drop does-not-exist@{0}" &&
467
- test_must_fail " git stash pop does-not-exist" &&
468
- test_must_fail " git stash pop does-not-exist@{0}" &&
469
- test_must_fail " git stash apply does-not-exist" &&
470
- test_must_fail " git stash apply does-not-exist@{0}" &&
471
- test_must_fail " git stash show does-not-exist" &&
472
- test_must_fail " git stash show does-not-exist@{0}" &&
473
- test_must_fail " git stash branch tmp does-not-exist" &&
474
- test_must_fail " git stash branch tmp does-not-exist@{0}" &&
465
+ test_must_fail git stash drop does-not-exist &&
466
+ test_must_fail git stash drop does-not-exist@{0} &&
467
+ test_must_fail git stash pop does-not-exist &&
468
+ test_must_fail git stash pop does-not-exist@{0} &&
469
+ test_must_fail git stash apply does-not-exist &&
470
+ test_must_fail git stash apply does-not-exist@{0} &&
471
+ test_must_fail git stash show does-not-exist &&
472
+ test_must_fail git stash show does-not-exist@{0} &&
473
+ test_must_fail git stash branch tmp does-not-exist &&
474
+ test_must_fail git stash branch tmp does-not-exist@{0} &&
475
475
git stash drop
476
476
'
477
477
478
478
test_expect_success ' invalid ref of the form stash@{n}, n >= N' '
479
479
git stash clear &&
480
- test_must_fail " git stash drop stash@{0}" &&
480
+ test_must_fail git stash drop stash@{0} &&
481
481
echo bar5 > file &&
482
482
echo bar6 > file2 &&
483
483
git add file2 &&
484
484
git stash &&
485
- test_must_fail " git drop stash@{1}" &&
486
- test_must_fail " git pop stash@{1}" &&
487
- test_must_fail " git apply stash@{1}" &&
488
- test_must_fail " git show stash@{1}" &&
489
- test_must_fail " git branch tmp stash@{1}" &&
485
+ test_must_fail git drop stash@{1} &&
486
+ test_must_fail git pop stash@{1} &&
487
+ test_must_fail git apply stash@{1} &&
488
+ test_must_fail git show stash@{1} &&
489
+ test_must_fail git branch tmp stash@{1} &&
490
490
git stash drop
491
491
'
492
492
0 commit comments