The `myip()` function outputs colored text while the test doesn't expect this and fails when run. Also, strings with blanks were compared while quotes around one of them was missing, so the test was bogus anyway. Fix this, too. The test wasn't run in CI builds until now, apparently. |
||
|---|---|---|
| .. | ||
| bash_it | ||
| completion | ||
| fixtures/bash_it | ||
| install | ||
| lib | ||
| plugins | ||
| themes | ||
| README.md | ||
| run | ||
| test_helper.bash | ||
README.md
Testing with Bats
To execute the unit tests, please run the run script:
# If you are in the `test` directory:
./run
# If you are in the root `.bash_it` directory:
test/run
The run script will automatically install Bats if it is not already present, and will then run all tests found under the test directory, including subdirectories.