Commit 8156070
committed
test: add EXTRACT fixture with 18 keyword variants to kitchen-sink
Replace standalone extract.test.ts with fixture-based testing that
follows the project's standard pattern:
- Add __fixtures__/kitchen-sink/misc/extract.sql with EPOCH, YEAR,
MONTH, DAY, HOUR, MINUTE, SECOND, CENTURY, MILLENNIUM, DOW, DOY,
QUARTER, WEEK, TIMEZONE, TIMEZONE_HOUR, TIMEZONE_MINUTE
- Regenerate generated.json and kitchen-sink test file
- Remove ad-hoc misc/extract.test.ts1 parent 8726ce6 commit 8156070
4 files changed
Lines changed: 64 additions & 36 deletions
File tree
- __fixtures__
- generated
- kitchen-sink/misc
- packages/deparser/__tests__
- kitchen-sink
- misc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21372 | 21372 | | |
21373 | 21373 | | |
21374 | 21374 | | |
| 21375 | + | |
| 21376 | + | |
| 21377 | + | |
| 21378 | + | |
| 21379 | + | |
| 21380 | + | |
| 21381 | + | |
| 21382 | + | |
| 21383 | + | |
| 21384 | + | |
| 21385 | + | |
| 21386 | + | |
| 21387 | + | |
| 21388 | + | |
| 21389 | + | |
| 21390 | + | |
| 21391 | + | |
| 21392 | + | |
21375 | 21393 | | |
21376 | 21394 | | |
21377 | 21395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
This file was deleted.
0 commit comments