mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 16:51:15 -03:00
Fix for builtin_test crash
https://github.com/fish-shell/fish-shell/issues/497
This commit is contained in:
@@ -922,6 +922,9 @@ static void test_test()
|
||||
/* These should be errors */
|
||||
assert(run_test_test(1, L"foo bar"));
|
||||
assert(run_test_test(1, L"foo bar baz"));
|
||||
|
||||
/* This crashed */
|
||||
assert(run_test_test(1, L"1 = 1 -a = 1"));
|
||||
}
|
||||
|
||||
/** Testing colors */
|
||||
|
||||
Reference in New Issue
Block a user