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

Commit9e4a44b

Browse files
committed
fixed submodule test to work on windows
1 parent9b6f38d commit9e4a44b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎git/test/test_submodule.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,9 @@ def _do_base_tests(self, rwrepo):
344344
abspmp=nsm.abspath
345345
assertnsm.move(nmp)isnsm
346346
nmp=nmp[:-1]# cut last /
347-
assertnsm.path==nmp
348-
assertrwrepo.submodules[0].path==nmp
347+
nmpl=to_native_path_linux(nmp)
348+
assertnsm.path==nmpl
349+
assertrwrepo.submodules[0].path==nmpl
349350

350351
mpath='newsubmodule'
351352
absmpath=join_path_native(rwrepo.working_tree_dir,mpath)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp