-
Notifications
You must be signed in to change notification settings - Fork 78
Commit dc3c2e1
committed
fix: resolve test failures for snacks.explorer integration
- Fix helpers module usage in snacks_explorer_spec.lua (return function,
not table)
- Add missing vim.fn.isDirectory() and vim.bo to test mocks
- Fix is_safe_path() to properly filter system files (/etc/, /usr/,
/bin/, /sbin/)
- All 326 tests now pass successfully1 parent 66476f4 commit dc3c2e1
File tree
4 files changed
+44
-5
lines changed- lua/claudecode
- tests
- mocks
- unit
4 files changed
+44
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
192 | 192 |
| |
193 | 193 |
| |
194 | 194 |
| |
195 | - | ||
195 | + | ||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
| |||
206 | 206 |
| |
207 | 207 |
| |
208 | 208 |
| |
209 | + | ||
209 | 210 |
| |
210 | 211 |
| |
211 | 212 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
312 | 312 |
| |
313 | 313 |
| |
314 | 314 |
| |
315 | - | ||
315 | + | ||
316 | + | ||
317 | + | ||
318 | + | ||
319 | + | ||
320 | + | ||
321 | + | ||
322 | + | ||
323 | + | ||
324 | + | ||
325 | + | ||
326 | + | ||
327 | + | ||
316 | 328 |
| |
317 | 329 |
| |
318 | 330 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
457 | 457 |
| |
458 | 458 |
| |
459 | 459 |
| |
460 | + | ||
461 | + | ||
462 | + | ||
463 | + | ||
464 | + | ||
465 | + | ||
460 | 466 |
| |
461 | 467 |
| |
462 | 468 |
| |
| |||
601 | 607 |
| |
602 | 608 |
| |
603 | 609 |
| |
610 | + | ||
611 | + | ||
612 | + | ||
613 | + | ||
614 | + | ||
615 | + | ||
616 | + | ||
617 | + | ||
618 | + | ||
619 | + | ||
620 | + | ||
621 | + | ||
622 | + | ||
623 | + | ||
624 | + | ||
625 | + | ||
626 | + | ||
627 | + | ||
628 | + | ||
629 | + | ||
630 | + | ||
604 | 631 |
| |
605 | 632 |
| |
606 | 633 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | - | ||
2 | 1 |
| |
3 | 2 |
| |
4 | 3 |
| |
5 | 4 |
| |
6 | - | ||
5 | + | ||
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
10 | - | ||
9 | + | ||
11 | 10 |
| |
12 | 11 |
| |
13 | 12 |
| |
|
0 commit comments