mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 16:28:19 +02:00
Allow using a base directory other than the cwd when completing files
This commit is contained in:
@@ -44,7 +44,7 @@ func TestCompleteFiles(t *testing.T) {
|
||||
if _, err := os.Stat(entry.abspath); err != nil {
|
||||
t.Fatalf("Abspath does not exist: %#v", entry.abspath)
|
||||
}
|
||||
})
|
||||
}, "")
|
||||
sort.Strings(actual)
|
||||
if !reflect.DeepEqual(expected, actual) {
|
||||
t.Fatalf("Did not get expected completion candidates for prefix: %#v\nExpected: %#v\nActual: %#v", prefix, expected, actual)
|
||||
|
||||
Reference in New Issue
Block a user