Skip to content

Commit f51c0a7

Browse files
committed
cmd/git(docs[GitTagManager.run]): use ellipsis instead of 'in' check
why: Cleaner doctest using built-in ELLIPSIS matching what: - Replace 'tag' in mgr.run() pattern with '...tag...' ellipsis
1 parent b4b5fbe commit f51c0a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libvcs/cmd/git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6068,8 +6068,8 @@ def run(
60686068
>>> mgr = GitTagManager(path=example_git_repo.path)
60696069
>>> mgr.create(name='run-doctest-tag', message='For doctest')
60706070
''
6071-
>>> 'run-doctest-tag' in mgr.run()
6072-
True
6071+
>>> mgr.run()
6072+
'...run-doctest-tag...'
60736073
"""
60746074
local_flags = local_flags if isinstance(local_flags, list) else []
60756075
if command is not None:

0 commit comments

Comments
 (0)