File: basic_test.bats

package info (click to toggle)
bashtop 0.9.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,052 kB
  • sloc: sh: 4,271; python: 364; makefile: 16
file content (17 lines) | stat: -rw-r--r-- 305 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 ]
}