Fix behavior of `--slurp --stream` when input has no trailing newline character (#3279)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This commit fixes a strange behavior of the combination of `--slurp` and `--stream` flags when the input has no trailing newline character.
authored by itchyny · committed by GitHub · parent 7d8c096 · Browse files · 2 files+11 added−12 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+11 added−12 removed
- tests:+7 added−0 removed
- other:+4 added−12 removed