Commit 9317d5c
Add a regression test for the .scm preload loader
Per review on #1286: nothing asserted the loader behavior itself. This
imports the go tree-sitter query .scm directly and asserts it arrives as
a non-empty string with capture syntax intact. Without the preload the
file fails to load at all (verified: running it without the cli/bunfig
preload fails), so a future refactor cannot silently regress the loader.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>1 parent 7b21505 commit 9317d5c
1 file changed
Lines changed: 24 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 | + | |
0 commit comments