(t *testing.T)
| 11 | ) |
| 12 | |
| 13 | func TestCallFunc(t *testing.T) { |
| 14 | called := false |
| 15 | myFunc := func() { |
| 16 | called = true |
| 17 | } |
| 18 | CallFunc(nil, myFunc) |
| 19 | assert.True(t, called) |
| 20 | } |
| 21 | |
| 22 | func TestCallFuncArgs(t *testing.T) { |
| 23 | b := NewBody() |
nothing calls this directly
no test coverage detected