Skip to content

Commit

Permalink
update failing test messages to match what is being tested
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Niesen committed Aug 11, 2018
1 parent 18c0bca commit bb810bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ func TestParseUrlIntoGithubInstance(t *testing.T) {
}

if inst.BaseUrl != tc.expectedInst.BaseUrl {
t.Fatalf("while extracting %s, expected owner %s, received %s", tc.repoUrl, tc.expectedInst.BaseUrl, inst.BaseUrl)
t.Fatalf("while parsing %s, expected base url %s, received %s", tc.repoUrl, tc.expectedInst.BaseUrl, inst.BaseUrl)
}

if inst.ApiUrl != tc.expectedInst.ApiUrl {
t.Fatalf("while extracting %s, expected name %s, received %s", tc.repoUrl, tc.expectedInst.ApiUrl, inst.ApiUrl)
t.Fatalf("while parsing %s, expected api url %s, received %s", tc.repoUrl, tc.expectedInst.ApiUrl, inst.ApiUrl)
}
}
}
Expand Down

0 comments on commit bb810bf

Please sign in to comment.