Skip to content
Commit d2b585f3 authored by Paul Pluzhnikov's avatar Paul Pluzhnikov
Browse files

Fix bad interaction between element limit and repeated values (BZ#24331).



Currently

  print -elements=3 -- "AAAAAA"

prints complete string, which is not what the user asked for.

Fix two buggy tests exposed by the fix, and add a new test.

Reviewed-by: default avatarKeith Seitz <keiths@redhat.com>
parent 249d1bad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment