mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 05:41:16 -03:00
Fix for failing to unescape history properly, resulting in a backslash explosion
This commit is contained in:
@@ -643,6 +643,10 @@ void history_tests_t::test_history(void) {
|
||||
|
||||
/* Generate a value */
|
||||
wcstring value = wcstring(L"test item ") + format_val(i);
|
||||
|
||||
/* Maybe add some backslashes */
|
||||
if (i % 3 == 0)
|
||||
value.append(L"(slashies \\\\\\ slashies)");
|
||||
|
||||
/* Generate some paths */
|
||||
path_list_t paths;
|
||||
|
||||
Reference in New Issue
Block a user