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

Commit6660f61

Browse files
committed
fixed submodule test to work on windows
1 parent5a3b731 commit6660f61

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎git/test/objects/test_submodule.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,9 @@ def _do_base_tests(self, rwrepo):
366366
abspmp=nsm.abspath
367367
assertnsm.move(nmp)isnsm
368368
nmp=nmp[:-1]# cut last /
369-
assertnsm.path==nmp
370-
assertrwrepo.submodules[0].path==nmp
369+
nmpl=to_native_path_linux(nmp)
370+
assertnsm.path==nmpl
371+
assertrwrepo.submodules[0].path==nmpl
371372

372373
mpath='newsubmodule'
373374
absmpath=join_path_native(rwrepo.working_tree_dir,mpath)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp