update calories
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-03-18 19:02:32 +07:00
parent 823786c3ea
commit bce61e698a
3 changed files with 28 additions and 9 deletions
+8 -1
View File
@@ -34,7 +34,13 @@ func TestCalcCalories(t *testing.T) {
{
"чай text",
"чай",
79,
130,
false,
},
{
"чай 250 text",
"чай 250",
162,
false,
},
}
@@ -49,6 +55,7 @@ func TestCalcCalories(t *testing.T) {
return
}
if count != tt.want {
fmt.Println(count, tt.want)
fmt.Println(count, tt.want)
t.Errorf("error count: %v", err)
return