Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4d851a6

Browse files
committed
BF(WIN): where could report multiple hits, so choose first
1 parentcc34077 commit4d851a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/test/test_git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def test_refresh(self):
180180

181181
# test a good path refresh
182182
which_cmd="where"ifis_winelse"which"
183-
path=os.popen("{0} git".format(which_cmd)).read().strip()
183+
path=os.popen("{0} git".format(which_cmd)).read().strip().split('\n')[0]
184184
refresh(path)
185185

186186
deftest_options_are_passed_to_git(self):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp