Commit e088abc
committed
url/base(fix[doctest]): unregister demo rule after example
why: The RuleMap.register doctest added 'gl-prefix' to the global
GitURL.rule_map without removing it, unlike the git/svn/hg examples
which clean up. The leaked rule persisted into later tests.
what:
- Unregister 'gl-prefix' at the end of the example1 parent 6ed2c9e commit e088abc
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
181 | 185 | | |
182 | 186 | | |
183 | 187 | | |
| |||
0 commit comments