jarcoal / httpmock

HTTP mocking for Golang
http://godoc.org/github.com/jarcoal/httpmock
MIT License
1.93k stars 103 forks source link

If several non-default clients are activated, correctly disable them #63

Closed maxatome closed 5 years ago

maxatome commented 5 years ago

Deactivate() only re-enabled last ActivateNonDefault()'ed client. Previous ones stayed "Activated". Now Deactivate re-enables all ActivateNonDefault()'ed clients.