Fix incorrect test
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Torjus Håkestad 2022-01-10 13:23:41 +01:00
parent 30a165b35a
commit 9eaf69780a

View File

@ -36,7 +36,7 @@ func TestSub(t *testing.T) {
}{ }{
{A: 1, B: 0, Expected: 1}, {A: 1, B: 0, Expected: 1},
{A: 1, B: 1, Expected: 0}, {A: 1, B: 1, Expected: 0},
{A: 0, B: -5, Expected: -5}, {A: 0, B: 5, Expected: -5},
} }
for _, test := range tc { for _, test := range tc {