Cleanup previous PR

This commit is contained in:
Kovid Goyal 2026-07-04 12:52:34 +05:30
parent c64ff282d0
commit facec19834
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 5 additions and 3 deletions

View file

@ -206,6 +206,8 @@ Detailed list of changes
- Fix superfluous margin visible to the left and right of the tab bar when :opt:`background_opacity` is less than one and the window width is not a multiple of the cell width (:iss:`10212`)
- hints kitten: Add a new flag :option:`kitty +kitten hints --prefix-free` to generate hints without a shared prefix (:pull:`10210`)
0.47.4 [2026-06-15]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -38,12 +38,12 @@ func TestPrefixFreeHints(t *testing.T) {
total_hints := int(math.Pow(float64(2), float64(n)))
skip := hints_to_skip(total_hints, l)
hints := make([]string, total_hints)
for i := 0; i < total_hints; i++ {
for i := range total_hints {
hints[i] = generate_prefix_free_hint(skip+1+i, alph)
}
// Verify that no hint is a prefix of another hint
for i := 0; i < total_hints; i++ {
for j := 0; j < total_hints; j++ {
for i := range total_hints {
for j := range total_hints {
if i == j {
continue
}