Skip to content

Commit 00855b6

Browse files
luked99gitster
authored andcommitted
git p4: fix unit tests
The submit-edit tests relied on P4EDITOR being unset. Set it explicitly to an empty string. Signed-off-by: Luke Diamand <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6a10b6a commit 00855b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t9805-git-p4-skip-submit-edit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ test_expect_success 'no config, edited' '
9191
cd "$git" &&
9292
echo line >>file1 &&
9393
git commit -a -m "change 5" &&
94-
EDITOR="\"$ed\"" git p4 submit &&
94+
P4EDITOR="" EDITOR="\"$ed\"" git p4 submit &&
9595
p4 changes //depot/... >wc &&
9696
test_line_count = 5 wc
9797
)

0 commit comments

Comments
 (0)