Commit b6533a4 1 parent 33394b5 commit b6533a4 Copy full SHA for b6533a4
File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ check-deps: deps
55
55
(go get github.com/alecthomas/gometalinter && gometalinter --install)
56
56
57
57
check : check-deps $(SOURCES ) test
58
- gometalinter ./... --deadline 720s --vendor -D dupl -D gotype -D errcheck -D gas -D golint -D aligncheck -D vetshadow -E gofmt
58
+ gometalinter ./... --deadline 720s --vendor -D dupl -D gotype -D errcheck -D gas -D golint -D aligncheck -D vetshadow -D maligned - E gofmt
59
59
60
60
format :
61
61
goimports -w -l $(APP_SOURCES )
Original file line number Diff line number Diff line change @@ -106,17 +106,17 @@ func TestIsHealthy(t *testing.T) {
106
106
// then
107
107
assert .True (t , task .IsHealthy ())
108
108
109
- // when
110
- task .State = "TASK_KILLING"
109
+ // when
110
+ task .State = "TASK_KILLING"
111
111
112
- // then
113
- assert .False (t , task .IsHealthy ())
112
+ // then
113
+ assert .False (t , task .IsHealthy ())
114
114
115
- // when
116
- task .State = "TASK_RUNNING"
115
+ // when
116
+ task .State = "TASK_RUNNING"
117
117
118
- // then
119
- assert .True (t , task .IsHealthy ())
118
+ // then
119
+ assert .True (t , task .IsHealthy ())
120
120
}
121
121
122
122
func TestId_String (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments