Commit Graph

10 Commits (9b51dc0b5fc9f1ee5af12b6d7991017e252b64ab)

Author SHA1 Message Date
John D Pell da6b27166f tests: new file `test_helper_libs.bash`
For testing non-core files, just `load ../test_helper_libs` after `load ../test_helper` instead of trying to guess which libs must be loaded, in which order, for testing to succeed.

`_command_exists` spews log messages, so our test log is littered with `_log_debug not found`. This fixes that too.
2022-01-08 08:29:13 -08:00
John D Pell 9dcbeec7ad tests: test_helper already loads `composure.sh`
...and `cite()`s metadata
2022-01-08 08:29:13 -08:00
John D Pell 476fcb4325 lib/theme: new `_bash_it_appearance_scm_init()`
Wrap init code in a function and call the function immediately. Several plugins do this, and it allows us to more easily implement a hooks-based system in the future.

Alsö, avoid external binary `which`. Use built-in `type -P` instead. Uppercase `-P` forces a path search to avoid hashed matches and functions/aliases and whatnot.
2021-09-11 10:22:17 -07:00
buhl 49d7d2e8c4 Getting Bash-it to use the vendored composure
Fixed tests
Fixed install.sh and bash_it.sh
Added gitattributes to the vendor folder
Changed documentation
2021-02-02 16:34:04 +01:00
Noah Gorny 3069af37e0 tests: Include lib log 2020-07-02 21:11:40 +03:00
Nils Winkler 3cffa35092
Fixed some more comments 2020-06-16 16:59:29 +02:00
Nils Winkler c02638e946
Fixed comment 2020-06-16 16:58:29 +02:00
Nils Winkler 5aa525caae
Refactored setup/teardown 2020-06-16 09:25:07 +02:00
Nils Winkler f933a86ff0
Added tests for additional SVN scenarios 2020-06-16 09:24:24 +02:00
Nils Winkler 47f6682292
Added test case for base theme SVN functionality
Unit tests for #1612, #1613.
2020-06-15 17:09:44 +02:00