Commit a02b871
committed
cmd/git(docs[GitTag]): make doctests self-contained with ellipsis
why: Doctests failed due to state pollution - tags from earlier doctests
affected later tests; use ELLIPSIS for cleaner pattern matching
what:
- GitTagCmd.run: create tag, verify with '...test-tag...'
- GitTagManager.__init__: create tag, verify with '...init-doctest-tag...'
- GitTagManager.run: create tag, verify with '...run-doctest-tag...'1 parent 6c3d65a commit a02b871
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5889 | 5889 | | |
5890 | 5890 | | |
5891 | 5891 | | |
5892 | | - | |
| 5892 | + | |
5893 | 5893 | | |
5894 | 5894 | | |
5895 | 5895 | | |
| |||
6030 | 6030 | | |
6031 | 6031 | | |
6032 | 6032 | | |
6033 | | - | |
6034 | | - | |
6035 | | - | |
| 6033 | + | |
| 6034 | + | |
6036 | 6035 | | |
| 6036 | + | |
| 6037 | + | |
6037 | 6038 | | |
6038 | 6039 | | |
6039 | 6040 | | |
| |||
6064 | 6065 | | |
6065 | 6066 | | |
6066 | 6067 | | |
6067 | | - | |
| 6068 | + | |
| 6069 | + | |
6068 | 6070 | | |
| 6071 | + | |
| 6072 | + | |
6069 | 6073 | | |
6070 | 6074 | | |
6071 | 6075 | | |
| |||
0 commit comments