(t *testing.T)
| 92 | } |
| 93 | |
| 94 | func TestWorkspaceIDContext(t *testing.T) { |
| 95 | ctx := context.Background() |
| 96 | |
| 97 | // Empty context returns empty string. |
| 98 | require.Equal(t, "", getWorkspaceID(ctx)) |
| 99 | |
| 100 | // Round-trips through context. |
| 101 | ctx = withWorkspaceID(ctx, "wk-test-123") |
| 102 | require.Equal(t, "wk-test-123", getWorkspaceID(ctx)) |
| 103 | } |
nothing calls this directly
no test coverage detected