(t *testing.T)
| 446 | } |
| 447 | |
| 448 | func TestFrameSetContextChildError(t *testing.T) { |
| 449 | ctx := context.Background() |
| 450 | f := mustNewExecutionFrame(t, EmptyActivation()) |
| 451 | defer f.Close() |
| 452 | |
| 453 | child := f.Push(EmptyActivation()) |
| 454 | defer child.Pop() |
| 455 | |
| 456 | if err := child.SetContext(ctx, 1); err == nil { |
| 457 | t.Error("expected SetContext on a child frame to return an error, got nil") |
| 458 | } |
| 459 | } |
| 460 | |
| 461 | func TestNewExecutionFrameInvalidInput(t *testing.T) { |
| 462 | f, err := NewExecutionFrame(123) |
nothing calls this directly
no test coverage detected