Skip to content
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.

Commit

Permalink
get rid of unused mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Varankin committed Mar 21, 2017
1 parent aa26e43 commit af2c0b4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions internal/internal.go
Expand Up @@ -17,13 +17,3 @@ func doIsStdLib(path string) bool {

return !strings.Contains(path[:i], ".")
}

// MockIsStdLib sets the IsStdLib func to always return false, otherwise it would identify
// pretty much all of our fixtures as being stdlib and skip everything.
//
// The function is not designed to be used from anywhere else except gps's fixtures initialization.
func MockIsStdLib() {
IsStdLib = func(path string) bool {
return false
}
}

0 comments on commit af2c0b4

Please sign in to comment.