mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Improve formatting and layout of history path detection test
This commit is contained in:
parent
884eb2b198
commit
87dacc0e95
@ -4378,9 +4378,15 @@ void history_tests_t::test_history_path_detection() {
|
|||||||
|
|
||||||
// Expected sets of paths.
|
// Expected sets of paths.
|
||||||
wcstring_list_t expected[hist_size] = {
|
wcstring_list_t expected[hist_size] = {
|
||||||
{}, {filename}, {tmpdir + L"/" + filename}, {L"$HOME/" + filename}, {}, {L"~/" + filename},
|
{}, // cmd0
|
||||||
{}, {}, // we do not expand globs
|
{filename}, // cmd1
|
||||||
{},
|
{tmpdir + L"/" + filename}, // cmd2
|
||||||
|
{L"$HOME/" + filename}, // cmd3
|
||||||
|
{}, // cmd4
|
||||||
|
{L"~/" + filename}, // cmd5
|
||||||
|
{}, // cmd6
|
||||||
|
{}, // cmd7 - we do not expand globs
|
||||||
|
{}, // cmd8
|
||||||
};
|
};
|
||||||
|
|
||||||
size_t lap;
|
size_t lap;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user