Add a test for #6130

This commit is contained in:
ridiculousfish 2019-09-22 14:06:14 -07:00
parent bc533ad939
commit a19d9b2e73

View File

@ -2869,6 +2869,9 @@ static void test_completion_insertions() {
TEST_1_COMPLETION(L"foo^", L"bar", COMPLETE_REPLACES_TOKEN, false, L"bar ^");
TEST_1_COMPLETION(L"'foo^", L"bar", COMPLETE_REPLACES_TOKEN, false, L"bar ^");
// See #6130
TEST_1_COMPLETION(L": (:^ ''", L"", 0, false, L": (: ^''");
}
static void perform_one_autosuggestion_cd_test(const wcstring &command, const wcstring &expected,