Skip to content

Commit b88cb88

Browse files
committed
Merge branch 'as/test-name-alias-uniquely' into maint
* as/test-name-alias-uniquely: Use longer alias names in subdirectory tests
2 parents e6f1550 + d16ece2 commit b88cb88

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

t/t1020-subdirectory.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,29 +111,29 @@ test_expect_success 'read-tree' '
111111

112112
test_expect_success 'alias expansion' '
113113
(
114-
git config alias.ss status &&
114+
git config alias.test-status-alias status &&
115115
cd dir &&
116116
git status &&
117-
git ss
117+
git test-status-alias
118118
)
119119
'
120120

121121
test_expect_success NOT_MINGW '!alias expansion' '
122122
pwd >expect &&
123123
(
124-
git config alias.test !pwd &&
124+
git config alias.test-alias-directory !pwd &&
125125
cd dir &&
126-
git test >../actual
126+
git test-alias-directory >../actual
127127
) &&
128128
test_cmp expect actual
129129
'
130130

131131
test_expect_success 'GIT_PREFIX for !alias' '
132132
printf "dir/" >expect &&
133133
(
134-
git config alias.test "!sh -c \"printf \$GIT_PREFIX\"" &&
134+
git config alias.test-alias-directory "!sh -c \"printf \$GIT_PREFIX\"" &&
135135
cd dir &&
136-
git test >../actual
136+
git test-alias-directory >../actual
137137
) &&
138138
test_cmp expect actual
139139
'

0 commit comments

Comments
 (0)