Commit a7d7773
committed
test(arreflect): add WithTemporal non-time type test, note timestamp exclusion
- Add test: FromSlice([]string{}, WithTemporal(date32)) returns
ErrUnsupportedType, covering the element-type validation guard
- Add inline comment explaining why timestamp is excluded from the
non-time.Time check (it is already a no-op via applyTemporalOpts)1 parent 034a9dd commit a7d7773
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| 404 | + | |
404 | 405 | | |
405 | 406 | | |
406 | 407 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
252 | 257 | | |
253 | 258 | | |
254 | 259 | | |
| |||
0 commit comments