mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
Clean up fish_uvars_test directory in tests
Allows running fish_tests directly without an initialization phase.
This commit is contained in:
@@ -2594,6 +2594,7 @@ static void test_universal() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
system("rm -Rf test/fish_uvars_test/");
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool callback_data_less_than(const callback_data_t &a, const callback_data_t &b) {
|
static bool callback_data_less_than(const callback_data_t &a, const callback_data_t &b) {
|
||||||
@@ -2648,6 +2649,7 @@ static void test_universal_callbacks() {
|
|||||||
do_test(callbacks.at(2).type == ERASE);
|
do_test(callbacks.at(2).type == ERASE);
|
||||||
do_test(callbacks.at(2).key == L"delta");
|
do_test(callbacks.at(2).key == L"delta");
|
||||||
do_test(callbacks.at(2).val == L"");
|
do_test(callbacks.at(2).val == L"");
|
||||||
|
system("rm -Rf test/fish_uvars_test/");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool poll_notifier(const std::unique_ptr<universal_notifier_t> ¬e) {
|
bool poll_notifier(const std::unique_ptr<universal_notifier_t> ¬e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user