feat(git): more commands, tests, add Registry conflict between tests

This commit is contained in:
verse91
2026-05-10 00:03:19 +07:00
parent c76541258a
commit d74c959be4
3 changed files with 305 additions and 59 deletions
+5
View File
@@ -44,3 +44,8 @@ var Registry = map[string]*Spec{}
func Register(s *Spec) {
Registry[s.Name] = s
}
// ResetRegistry clears all registered specs — use in tests only
func ResetRegistry() {
Registry = make(map[string]*Spec)
}