File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
- .PHONY : test security install build release
1
+ .PHONY : clean test security install build release
2
2
3
- test :
3
+ clean :
4
+ rm -rf ./tmp coverage.out
5
+
6
+ test : clean
4
7
go test -coverprofile=coverage.out ./...
5
8
go tool cover -func=coverage.out
6
9
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ func TestCreateProjectFromRegistry(t *testing.T) {
23
23
args {
24
24
p : & registry.Project {
25
25
Type : "backend" ,
26
- Name : "echo " ,
26
+ Name : "fiber " ,
27
27
RootFolder : "../../tmp" ,
28
28
},
29
29
r : registry .Repositories ,
@@ -49,7 +49,7 @@ func TestCreateProjectFromRegistry(t *testing.T) {
49
49
args {
50
50
p : & registry.Project {
51
51
Type : "backend" ,
52
- Name : "echo " ,
52
+ Name : "fiber " ,
53
53
RootFolder : "../../tmp" ,
54
54
},
55
55
r : map [string ]* registry.Repository {
@@ -83,7 +83,7 @@ func TestCreateProjectFromRegistry(t *testing.T) {
83
83
args {
84
84
p : & registry.Project {
85
85
Type : "backend" ,
86
- Name : "echo " ,
86
+ Name : "fiber " ,
87
87
RootFolder : "../../tmp" ,
88
88
},
89
89
r : nil ,
@@ -105,7 +105,7 @@ func TestCreateProjectFromRegistry(t *testing.T) {
105
105
args {
106
106
p : & registry.Project {
107
107
Type : "backend" ,
108
- Name : "echo " ,
108
+ Name : "fiber " ,
109
109
RootFolder : "../../tmp" ,
110
110
},
111
111
r : registry .Repositories ,
You can’t perform that action at this time.
0 commit comments