(t *testing.T)
| 20 | } |
| 21 | |
| 22 | func TestWithdrawInvalid(t *testing.T) { |
| 23 | t.Parallel() |
| 24 | balance := 20 |
| 25 | amount := 100 |
| 26 | _, err := withdraw.Withdraw(balance, amount) |
| 27 | if err == nil { |
| 28 | t.Fatal("want error for invalid withdrawal, got nil") |
| 29 | } |
| 30 | } |
nothing calls this directly
no outgoing calls
no test coverage detected