Skip to content

test(interpreter): add regression tests for issue #875#895

Merged
chaliy merged 1 commit intomainfrom
fix/issue-875-assoc-key-nested-subshell
Mar 28, 2026
Merged

test(interpreter): add regression tests for issue #875#895
chaliy merged 1 commit intomainfrom
fix/issue-875-assoc-key-nested-subshell

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Mar 28, 2026

Summary

Test plan

  • cargo test --test issue_875_test — 3 tests pass
  • cargo clippy --test issue_875_test -- -D warnings — clean
  • cargo fmt --check — clean

Closes #875

Add tests verifying associative array key expansion (${!assoc[@]})
works correctly inside process substitution nested in command
substitution. The bug was already fixed by prior commits but lacked
a targeted regression test.

Closes #875
@chaliy chaliy merged commit 76daad5 into main Mar 28, 2026
18 checks passed
@chaliy chaliy deleted the fix/issue-875-assoc-key-nested-subshell branch March 28, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Associative array key expansion empty inside process substitution nested in command substitution

1 participant