File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ func TestExtractGitInfo_FailToGetProjectRemoteUrl(t *testing.T) {
198198 tC := FailTestCase {
199199 desc : "Error returned by function to get the project remote url" ,
200200 errMsg : "Some error" ,
201- expectedErr : "Could not get project Url: Some error" ,
201+ expectedErr : "could not get project Url: Some error" ,
202202 }
203203 t .Run (tC .desc , func (t * testing.T ) {
204204 g := failingUrlManager {
@@ -227,7 +227,7 @@ func TestExtractGitInfo_FailToGetCurrentBranchName(t *testing.T) {
227227 tC := FailTestCase {
228228 desc : "Error returned by function to get the project remote url" ,
229229 errMsg : "Some error" ,
230- expectedErr : "Failed to get current branch: Some error" ,
230+ expectedErr : "failed to get current branch: Some error" ,
231231 }
232232 t .Run (tC .desc , func (t * testing.T ) {
233233 g := failingBranchManager {
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ PROJECTNAME=$(shell basename "$(PWD)")
44
55# # compile: build golang project
66compile :
7- @cd cmd && go build -o bin && mv bin ../bin
7+ @go build -o bin ./cmd
88# # test: run golang project tests
99test :
10- @cd cmd/app && go test
10+ @go test -v ./...
1111
1212.PHONY : help
1313all : help
You can’t perform that action at this time.
0 commit comments