Skip to content

Commit

Permalink
Remove unused gomock code
Browse files Browse the repository at this point in the history
  • Loading branch information
Deependra-Patel committed Apr 14, 2019
1 parent 0761a41 commit 9433b02
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scraper_test.go
@@ -1,7 +1,6 @@
package main

import (
"github.com/golang/mock/gomock"
"net/url"
"testing"
)
Expand Down Expand Up @@ -50,9 +49,6 @@ func TestFilterToSameDomain(t *testing.T) {
}

func TestScraper_GetSameDomainLinks(t *testing.T) {
ctrl := gomock.NewController(t)
defer ctrl.Finish()

mockResponse := make(map[string]string, 0)
pageUrl := "https://www.github.com"
mockResponse[pageUrl] = "<a href=\"https://www.github.com/notification\"><a href=\"https://www.xyz.com\">"
Expand Down

0 comments on commit 9433b02

Please sign in to comment.