diff --git a/tools/flaky-test-reporter/ghutil/fakeghutil/fakeghutil.go b/shared/ghutil/fakeghutil/fakeghutil.go similarity index 98% rename from tools/flaky-test-reporter/ghutil/fakeghutil/fakeghutil.go rename to shared/ghutil/fakeghutil/fakeghutil.go index 8cea699b53..6175d8aecd 100644 --- a/tools/flaky-test-reporter/ghutil/fakeghutil/fakeghutil.go +++ b/shared/ghutil/fakeghutil/fakeghutil.go @@ -22,7 +22,7 @@ import ( "fmt" "github.com/google/go-github/github" - "github.com/knative/test-infra/tools/flaky-test-reporter/ghutil" + "github.com/knative/test-infra/shared/ghutil" ) // FakeGithubClient is a faked client, implements all functions of ghutil.GithubClientInterface diff --git a/tools/flaky-test-reporter/ghutil/ghutil.go b/shared/ghutil/ghutil.go similarity index 100% rename from tools/flaky-test-reporter/ghutil/ghutil.go rename to shared/ghutil/ghutil.go diff --git a/tools/flaky-test-reporter/github_issue.go b/tools/flaky-test-reporter/github_issue.go index 850c1a6f5f..d3212d504f 100644 --- a/tools/flaky-test-reporter/github_issue.go +++ b/tools/flaky-test-reporter/github_issue.go @@ -27,8 +27,8 @@ import ( "github.com/google/go-github/github" + "github.com/knative/test-infra/shared/ghutil" "github.com/knative/test-infra/shared/junit" - "github.com/knative/test-infra/tools/flaky-test-reporter/ghutil" ) const ( diff --git a/tools/flaky-test-reporter/github_issue_test.go b/tools/flaky-test-reporter/github_issue_test.go index 8ed48f1553..e5c3e77a8a 100644 --- a/tools/flaky-test-reporter/github_issue_test.go +++ b/tools/flaky-test-reporter/github_issue_test.go @@ -22,7 +22,7 @@ import ( "testing" "github.com/google/go-github/github" - "github.com/knative/test-infra/tools/flaky-test-reporter/ghutil/fakeghutil" + "github.com/knative/test-infra/shared/ghutil/fakeghutil" ) var testStatsMapForTest = map[string]TestStat{