catlog22
6ff3e5f8fe
test: add unit tests for hook quoting fix (Issue #73 )
...
Add comprehensive test suite for convertToClaudeCodeFormat function:
- Verify bash -c commands use single quotes
- Verify jq patterns are preserved without excessive escaping
- Verify single quotes in scripts are properly escaped
- Test all real-world hook templates (danger-*, ccw-notify, log-tool)
- Test edge cases (non-bash commands, already formatted data)
All 13 tests passing.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-14 15:22:52 +08:00
..
2026-01-05 10:48:08 +08:00
2026-01-13 12:35:15 +08:00
2026-01-07 22:35:46 +08:00
2026-01-13 03:39:20 +00:00
2026-01-13 18:20:54 +08:00
2026-01-07 22:35:46 +08:00
2025-12-29 00:19:37 +08:00
2026-01-07 22:35:46 +08:00
2026-01-13 21:31:46 +08:00
2026-01-07 22:35:46 +08:00
2026-01-07 22:35:46 +08:00
2025-12-26 15:08:47 +08:00
2026-01-12 12:42:38 +08:00
2026-01-07 23:33:40 +08:00
2025-12-28 23:08:54 +08:00
2025-12-29 09:42:01 +08:00
2026-01-07 22:35:46 +08:00
2026-01-07 22:35:46 +08:00
2026-01-07 22:35:46 +08:00
2025-12-29 10:11:27 +08:00
2025-12-29 09:50:30 +08:00
2025-12-29 00:11:57 +08:00
2026-01-07 22:35:46 +08:00
2026-01-07 22:35:46 +08:00
2026-01-13 18:20:54 +08:00
2026-01-14 15:22:52 +08:00
2026-01-07 22:35:46 +08:00
2026-01-13 18:20:54 +08:00
2025-12-29 13:28:11 +08:00
2025-12-29 15:14:03 +08:00
2025-12-26 15:08:47 +08:00
2025-12-28 23:01:40 +08:00
2026-01-07 22:35:46 +08:00
2026-01-07 22:35:46 +08:00
2025-12-29 00:09:33 +08:00
2025-12-28 23:47:13 +08:00
2026-01-07 22:35:46 +08:00
2026-01-07 22:35:46 +08:00
2025-12-28 23:47:13 +08:00
2026-01-07 22:35:46 +08:00
2026-01-07 22:35:46 +08:00
2025-12-20 16:14:46 +08:00
2025-12-26 15:08:47 +08:00
2025-12-26 15:08:47 +08:00
2025-12-28 23:47:13 +08:00
2025-12-16 10:20:19 +08:00
2026-01-07 22:35:46 +08:00
2026-01-12 12:42:38 +08:00
2025-12-28 23:47:13 +08:00
2025-12-16 22:24:29 +08:00