Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
head: fix 'test_spams_newline' to check *against* newline spam
The comment was introduced in commit 8320b1e, the test was introduced in commit c1f518e claiming to be about "failing GNU head tests". However, a simple check reveals no such difference: ```console $ echo -n a | hd 00000000 61 |a| 00000001 $ echo -n a | head | hd # GNU head 00000000 61 |a| 00000001 $ echo -n a | cargo run -- head | hd 00000000 61 |a| 00000001 $ echo -n a | busybox head | hd 00000000 61 |a| 00000001 $ ``` Looking at the GNU tests directly, it seems that there is a similar, but different test.
- Loading branch information