mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-23 21:31:14 -03:00
Drop tests with resetting match start inside lookaround
This seems to be of little use Fixes #8353
This commit is contained in:
@@ -5822,11 +5822,6 @@ static void test_string() {
|
||||
{{L"string", L"match", L"-r", L"(foo)\\Kbar", L"foobar", nullptr},
|
||||
STATUS_CMD_OK,
|
||||
L"bar\nfoo\n"},
|
||||
{{L"string", L"match", L"-r", L"(?=ab\\K)", L"ab", nullptr}, STATUS_CMD_OK, L"\n"},
|
||||
{{L"string", L"match", L"-r", L"(?=ab\\K)..(?=cd\\K)", L"abcd", nullptr},
|
||||
STATUS_CMD_OK,
|
||||
L"\n"},
|
||||
|
||||
{{L"string", L"replace", nullptr}, STATUS_INVALID_ARGS, L""},
|
||||
{{L"string", L"replace", L"", nullptr}, STATUS_INVALID_ARGS, L""},
|
||||
{{L"string", L"replace", L"", L"", nullptr}, STATUS_CMD_ERROR, L""},
|
||||
|
||||
Reference in New Issue
Block a user