fix
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
871b6c6dcd
commit
e24c6813a7
|
@ -6,6 +6,7 @@ steps:
|
|||
- name: build
|
||||
image: golang
|
||||
commands:
|
||||
- go test
|
||||
- go build -o valera_tg_bot main.go
|
||||
|
||||
- name: scp
|
||||
|
|
|
@ -40,7 +40,7 @@ func TestCalcCalories(t *testing.T) {
|
|||
tt := tt
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
count, err := calcCalories(tt.text)
|
||||
count, err := CalcCalories(tt.text)
|
||||
if (err != nil) != tt.wantErr {
|
||||
t.Errorf("error calc calories: %v", err)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue