Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ShellScript] reorganize syntax tests #3989

Merged
merged 12 commits into from
Jun 8, 2024

Conversation

deathaxe
Copy link
Collaborator

@deathaxe deathaxe commented Jun 6, 2024

This maintenance PR rearranges bash syntax tests by

The main goals are

  1. more easily ensure not to forget tests for certain features especially when cross checking with other/new shell dialects/syntaxes.
  2. separate this pure re-arrangement from upcomming real behavior changing or bugfixing modifications, which modify both syntax definition and syntax tests.

This PR adds some tests (for positional parameters) but does not remove any existing ones.

deathaxe added 12 commits May 14, 2024 20:09
This commit updates references in syntax tests to Bash 5.2 docs
as preparation to integrate new shells.

Note: This commit does not change any behavior.
This commit moves shell parameter tests next to shell functions
to align tests by language manual structure.

Note: This commit does not change any behavior.
This commit aligns position of positional, special and shell parameter
expansion tests with bash manual structure.

Note: This commit does not change any behavior.
This commit aligns pattern matching tests to align them
with bash manual structure.

Note: This commit does not change any behavior.
@deathaxe deathaxe merged commit fab5cc9 into sublimehq:master Jun 8, 2024
2 checks passed
@deathaxe deathaxe deleted the pr/shellscript/reorganize-tests branch June 8, 2024 08:26
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.

3 participants