mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Fix git_map_test.py
I think the latest Git version changed this behavior. Change-Id: Id10c3ec41daf4e6700fc8168373cae9482502231 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6422996 Commit-Queue: Allen Li <ayatane@chromium.org> Feels: Yiwei Zhang <yiwzhang@google.com> Reviewed-by: Yiwei Zhang <yiwzhang@google.com>
This commit is contained in:
2
tests/git_map_test.py
Normal file → Executable file
2
tests/git_map_test.py
Normal file → Executable file
@@ -74,7 +74,7 @@ class GitMapTest(git_test_utils.GitRepoReadOnlyTestBase):
|
|||||||
|
|
||||||
def testGitMap(self):
|
def testGitMap(self):
|
||||||
expected = os.linesep.join([
|
expected = os.linesep.join([
|
||||||
'* 6e85e877ea (tag_O, origin/main, origin/branch_O) 1970-01-30 ~ O',
|
'* 6e85e877ea (tag_O, origin/main, origin/branch_O, origin/HEAD) 1970-01-30 ~ O',
|
||||||
'* 4705470871 (tag_N) 1970-01-28 ~ N',
|
'* 4705470871 (tag_N) 1970-01-28 ~ N',
|
||||||
'* 8761b1a94f (tag_M) 1970-01-26 ~ M',
|
'* 8761b1a94f (tag_M) 1970-01-26 ~ M',
|
||||||
'* 5e7ce08691 (tag_G) 1970-01-24 ~ G',
|
'* 5e7ce08691 (tag_G) 1970-01-24 ~ G',
|
||||||
|
|||||||
Reference in New Issue
Block a user