File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -870,7 +870,7 @@ test_expect_success '--set-upstream-to fails on locked config' '
870
870
>.git/config.lock &&
871
871
git branch locked &&
872
872
test_must_fail git branch --set-upstream-to locked 2>err &&
873
- test_i18ngrep "could not lock config file .git/config: File exists " err
873
+ test_i18ngrep "could not lock config file .git/config" err
874
874
'
875
875
876
876
test_expect_success ' use --set-upstream-to modify HEAD' '
@@ -901,7 +901,7 @@ test_expect_success '--unset-upstream should fail if config is locked' '
901
901
git branch --set-upstream-to locked &&
902
902
>.git/config.lock &&
903
903
test_must_fail git branch --unset-upstream 2>err &&
904
- test_i18ngrep "could not lock config file .git/config: File exists " err
904
+ test_i18ngrep "could not lock config file .git/config" err
905
905
'
906
906
907
907
test_expect_success ' test --unset-upstream on HEAD' '
You can’t perform that action at this time.
0 commit comments