Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust markCharsRedAtIndices according to property
1) Cardano.CLI.markCharsRedAtIndices generates strings of expected length Falsifiable (after 1 test): [] "" 4 /= 0 Fix by removing uncessary trailing reset ansi code 1) Cardano.CLI.markCharsRedAtIndices generates strings of expected length Falsifiable (after 7 tests and 8 shrinks): [1,0] "aa" aa 11 /= 20 Fix by using sort in markCharsRedAtIndices 1) Cardano.CLI.markCharsRedAtIndices generates strings of expected length Falsifiable (after 8 tests and 6 shrinks): [3,2,2] "aaaa" aaaa 13 /= 22 Fix by using nub in markCharsRedAtIndices
- Loading branch information