Commit Graph

15 Commits (d89651dc8dbdbeff33eb27a53eb0598d74ef9ee3)

Author SHA1 Message Date
Noah Gorny 3069af37e0 tests: Include lib log 2020-07-02 21:11:40 +03:00
Noah Gorny e6ebcda608 log: Fix logging to comply with the tests 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
Nils Winkler 721412aa4c
Merge pull request #1395 from zhao-li/toggle-able_commit_count
Toggle able commit count
2019-09-02 08:45:19 +02:00
Zhao Li 83be21ebb3 update tests to set flag appropriately 2019-07-08 13:33:14 -10:00
Zhao Li 49d8c8750a fix broken tests 2019-07-08 13:28:32 -10:00
Dan Wendorf c5f2c408e7 SCM_CURRENT_USER supports accented characters
`tr 'A-Z' 'a-z'` will only convert non-accented characters. Switching to
`[:upper:]` and `[:lower:]` adds support for accents.
See https://github.com/koalaman/shellcheck/wiki/SC2018

Additionally, printf's character splitting does not support accented
characters, so output isn't as expected. Using bash's variable expansion
syntax instead will correctly get the full accented character.
2017-12-18 09:05:33 -08:00
Dan Wendorf 150e82b221 Refactor git functionality into githelpers.theme.bash
- Add unit tests around git functionality
2017-12-18 09:05:33 -08:00
Nils Winkler 2691a5b138 Moved to bats-assert for assert functions 2017-10-14 18:00:43 +02:00
Nils Winkler 145ec5dfaa Copied command_exists function to the helpers lib so that there is no hidden dependency on the base plugin
The original command_exists function will stay in the base plugin, but will no longer be used by other plugins or themes.
2017-09-17 21:05:59 +02:00
Nils Winkler b55c0251ed Add tests for base theme's battery functions 2017-06-24 17:31:31 +02:00