test: ensure prefixing handles line segments
Add an E2E test that runs `bin/index.js` with a Node.js program that prints to stdout in segments, rather than line by line. The current AVA snapshot shows the unexpected behavior that will be fixed in #4.
合并状态:已合并 合并于 2024-08-26 关闭于 2024-08-26 0 条评论