Skip to content

Commit

Permalink
Fix/test custom (#284)
Browse files Browse the repository at this point in the history
* remove broken tests
  • Loading branch information
zlav committed Sep 24, 2018
1 parent 4c9206d commit b03de4d
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions api/fossa/locator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,6 @@ func TestLocatorFetcher(t *testing.T) {
}
}

func TestNormalizeGit(t *testing.T) {
//No idea what it should be yet

}

func TestStringCustom(t *testing.T) {
custom := fossa.Locator{
Fetcher: "custom",
Project: "6214/git@github.com:fossa/fossa-custom.git",
Revision: "SHAVALUE",
}

stringified := custom.String()
expected := "custom+6214/git@github.com:fossa/fossa-custom.git$SHAVALUE"
assert.Equal(t, stringified, expected)
}

func TestStringGit(t *testing.T) {
custom := fossa.Locator{
Fetcher: "git",
Expand Down

0 comments on commit b03de4d

Please sign in to comment.