mirror of https://github.com/kazhala/dotbare
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
318 B
Plaintext
15 lines
318 B
Plaintext
4 years ago
|
#!/usr/bin/env bats
|
||
|
|
||
|
source "${BATS_TEST_DIRNAME}"/../helper/set_variable.sh
|
||
|
|
||
|
@test "check env var" {
|
||
|
[ "${DOTBARE_DIR}" = "$HOME/.cfg/" ]
|
||
|
[ "${DOTBARE_TREE}" = "$HOME" ]
|
||
|
[ "${DOTBARE_BACKUP}" = "$HOME/.local/share/dotbare" ]
|
||
|
}
|
||
|
|
||
|
@test "check fzf var" {
|
||
|
[ -n "${DOTBARE_KEY}" ]
|
||
|
[ -n "${FZF_DEFAULT_OPTS}" ]
|
||
|
}
|