Fix typo in parseDependency name and add tests

This commit is contained in:
Matthias Loibl 2019-07-22 18:37:16 +02:00
parent 95226f7f9b
commit 4630466006
No known key found for this signature in database
GPG key ID: 78A796CA74CA38BA
3 changed files with 82 additions and 9 deletions

View file

@ -98,7 +98,7 @@ func Main() int {
return 0
}
func parseDepedency(urlString string) *spec.Dependency {
func parseDependency(urlString string) *spec.Dependency {
if spec := parseGitSSHDependency(urlString); spec != nil {
return spec
}