mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 15:01:16 -03:00
Fix builtin_test to properly handle last expression in a combining expression
This commit is contained in:
@@ -419,7 +419,7 @@ namespace test_expressions {
|
||||
assert(combiners.size() + 1 == subjects.size());
|
||||
assert(! subjects.empty());
|
||||
|
||||
size_t idx = 0, max = combiners.size();
|
||||
size_t idx = 0, max = subjects.size();
|
||||
bool or_result = false;
|
||||
while (idx < max) {
|
||||
if (or_result) {
|
||||
|
||||
Reference in New Issue
Block a user