Skip to content

Commit b4b5fbe

Browse files
committed
cmd/git(docs[GitTagManager.__init__]): 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 03ce027 commit b4b5fbe

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
@@ -6033,8 +6033,8 @@ def __init__(
60336033
>>> mgr = GitTagManager(path=example_git_repo.path)
60346034
>>> mgr.create(name='init-doctest-tag', message='For doctest')
60356035
''
6036-
>>> 'init-doctest-tag' in mgr.run()
6037-
True
6036+
>>> mgr.run()
6037+
'...init-doctest-tag...'
60386038
"""
60396039
#: Directory to check out
60406040
self.path: pathlib.Path

0 commit comments

Comments
 (0)