(t *testing.T, input dagql.ImplicitInput, ctx context.Context)
| 140 | } |
| 141 | |
| 142 | func resolveImplicitInputString(t *testing.T, input dagql.ImplicitInput, ctx context.Context) string { |
| 143 | t.Helper() |
| 144 | |
| 145 | value, err := input.Resolver(ctx, nil) |
| 146 | require.NoError(t, err) |
| 147 | require.NotNil(t, value) |
| 148 | |
| 149 | strVal, ok := value.(dagql.String) |
| 150 | require.True(t, ok, "expected dagql.String implicit input value, got %T", value) |
| 151 | return strVal.String() |
| 152 | } |
no test coverage detected