fix
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Владимир Фёдоров 2023-03-18 14:36:41 +07:00
parent 871b6c6dcd
commit e24c6813a7
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ steps:
- name: build
image: golang
commands:
- go test
- go build -o valera_tg_bot main.go
- name: scp

View File

@ -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