feat(git): more commands, tests, add Registry conflict between tests
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user