mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
printf : no infinite loop
This commit is contained in:
parent
edb77b8d59
commit
2aa8a3502f
2 changed files with 14 additions and 1 deletions
|
@ -649,3 +649,8 @@ fn partial_char() {
|
|||
fn char_as_byte() {
|
||||
new_ucmd!().args(&["%c", "🙃"]).succeeds().stdout_only("ð");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn no_infinite_loop() {
|
||||
new_ucmd!().args(&["a", "b"]).succeeds().stdout_only("a");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue