mirror of https://github.com/aristocratos/bashtop
17 lines
303 B
Plaintext
17 lines
303 B
Plaintext
![]() |
#!/usr/bin/env bats
|
||
|
|
||
|
load 'libs/bats-support/load'
|
||
|
load 'libs/bats-assert/load'
|
||
|
|
||
|
load test_helper
|
||
|
|
||
|
@test "sourcing works, by checking if $system is set" {
|
||
|
run echo $system
|
||
|
refute_output ""
|
||
|
}
|
||
|
|
||
|
@test "#get_themes populates themes" {
|
||
|
get_themes
|
||
|
assert_success
|
||
|
assert [ ${#themes[@]} -gt 0 ]
|
||
|
}
|