(t *testing.T)
| 128 | } |
| 129 | |
| 130 | func TestValues(t *testing.T) { |
| 131 | ctx := context.Background() |
| 132 | ctx = WithWorkflowID(ctx, "flyte") |
| 133 | m := Values(ctx, ProjectKey, WorkflowIDKey) |
| 134 | assert.NotNil(t, m) |
| 135 | assert.Equal(t, 2, len(m)) |
| 136 | assert.Equal(t, "flyte", m[WorkflowIDKey.String()]) |
| 137 | assert.Equal(t, "", m[ProjectKey.String()]) |
| 138 | } |
| 139 | |
| 140 | func TestWithGoroutineLabel(t *testing.T) { |
| 141 | ctx := context.Background() |
nothing calls this directly
no test coverage detected