mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Fix some failing tests
This commit is contained in:
parent
f6d66b2336
commit
c19ac531cf
2 changed files with 2 additions and 3 deletions
|
|
@ -27,10 +27,9 @@ class TestBuild(BaseTest):
|
|||
|
||||
def test_loading_extensions(self) -> None:
|
||||
import kitty.fast_data_types as fdt
|
||||
from kittens.choose import subseq_matcher
|
||||
from kittens.diff import diff_speedup
|
||||
from kittens.transfer import rsync
|
||||
del fdt, subseq_matcher, diff_speedup, rsync
|
||||
del fdt, diff_speedup, rsync
|
||||
|
||||
def test_loading_shaders(self) -> None:
|
||||
from kitty.utils import load_shaders
|
||||
|
|
|
|||
|
|
@ -966,7 +966,7 @@ func GetThemeNames(cache_age time.Duration) (ans []string, err error) {
|
|||
|
||||
func CompleteThemes(completions *cli.Completions, word string, arg_num int) {
|
||||
names, err := GetThemeNames(-1)
|
||||
if err != nil {
|
||||
if err == nil {
|
||||
mg := completions.AddMatchGroup("Themes")
|
||||
for _, theme_name := range names {
|
||||
theme_name = strings.TrimSpace(theme_name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue