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

DRAFT: BATS: unofficial strict mode #2032

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Commits on Mar 4, 2022

  1. BATS: require shellcheck on test files

    BATS: add `*.bats` to `.gitattributes`
    gaelicWizard committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    bf811cd View commit details
    Browse the repository at this point in the history
  2. test/lib: shellcheck

    gaelicWizard committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    49b477e View commit details
    Browse the repository at this point in the history
  3. test/theme: shellcheck

    test: don't clobber `$PATH`
    
    BATS depends on `$PATH` somehow and if not handled properly, modifying `$PATH` breaks BATS badly. But, it doesn't seem like we have any reason to modify `$PATH` in the first place...so don't.
    
    test/svn: don't clobber `$PATH`
    test/ruby: don't clobber `$PATH`
    test/search: don't clobber `$PATH`
    gaelicWizard committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    45ab5b3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    99decb8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5f11a0d View commit details
    Browse the repository at this point in the history
  6. test/plugin: shellcheck

    gaelicWizard committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    61247a1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6f6a99e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c893be3 View commit details
    Browse the repository at this point in the history
  9. test_helper: make lib loading default

    Make library loading overridable default for all tests, up through "seach".
    gaelicWizard committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    93a05cc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    810c52f View commit details
    Browse the repository at this point in the history
  11. test: shfmt

    My apologies to future `git blame` hunters ♥
    gaelicWizard committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    d37505b View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. Configuration menu
    Copy the full SHA
    5524e82 View commit details
    Browse the repository at this point in the history
  2. workaround

    gaelicWizard committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    683b9f3 View commit details
    Browse the repository at this point in the history