mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
Fix some failing tests
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user